DataViz Tip #26: Chart Types: Sankey Diagram
In this and several of the following tips, we will cover some of the more “exotic” chart types you can use to visualize your data. Today we are starting with a Sankey Diagram.
See the Pen amCharts V4: Sankey diagram with draggable nodes by amCharts (@amcharts) on CodePen.
Sankey diagrams are used to depict the flow of data between several categories. This chart type is very good at giving viewers a clear picture of how values transition and split from one set of categories to the other. If you are a Google Analytics user you have probably seen a version of Sankey diagram in their Behavior Flow, Goal Flow, and similar diagrams.
See the Pen amCharts V4: Sankey diagram with animated bullets by amCharts (@amcharts) on CodePen.
Sankey diagram can either be horizontal or vertical, depending on your data, needs and allocated space.
See the Pen amCharts V4: Vertical Sankey diagram by amCharts (@amcharts) on CodePen.
Good news is that you can now easily create Sankey diagrams with amCharts 4. Check out the code for the demos above and dig into docs to get started.
We are giving away a great data visualization book each month! Subscribe to our newsletter to get monthly tips like the one above and you’ll be automatically entered in the sweepstakes to win an awesome book.