The Tableau Dashboard is at the bottom of the page
Sankey diagrams are a kind of flow diagrams in which the width of the arrows is shown proportionally to the flow quantity. Creating most visualizations in Tableau is intuitive but creating a sankey diagram is not. One of the capabilities of Qlik sense that I like is its plug-ins for D3 libraries which enable seamless integration of sankey diagrams, network graphs, etc. in our dashboard. Even if creating sankey diagrams in Tableau involves some effort, sometimes, it is worth it because it is visually attractive and it can help to show flow of data which cannot be represented using other data visualization types.
In this post, we will create sankey diagrams using Tableau. There are already some tutorials out there that show how to create sankey. However, what makes this tutorial different is that it shows how to use filters in the sankey diagrams. Further, this blog post is on multi-layer sankey. The data is from Tableau’s website. You can download it from here. You can also download the Tableau dashboard. I have also included screenshots of the calculated fields.
The steps are below. We have to repeat all the steps for each part of the Sankey diagram (one for the Sankey from Product Category to Region, one for the Sankey that goes from Region to Ship Mode and one for the Sankey that goes from Ship Mode to Order Priority)
We can use one or more parameters to filter our data. In this dashboard, we are using year parameter to choose year.
Add a new column (call it vizside) with names for the left and right sides of the Sankey diagram
Create a parameter to help us select year