Sankey charts are a powerful way to visualize and communicate data flow and relationships between entities. They can be used to show the movement of goods, the flow of money or energy, or any other type of data that has a source, a path, and an endpoint. In this article, we will explore the creation and applications of Sankey charts, including how to master this visualization technique.
What is a Sankey chart?
A Sankey chart is a type of flow diagram that uses arrows to show the movement of data or resources between different entities. Each arrow represents a flow, with the thickness of the arrow indicating the size of the flow. The chart has three main components: nodes, which represent entities or sources and sinks of data flow; edges or arrows, which represent the flow between nodes; and the values displayed on the arrows, which indicate the amount of data being transferred.
The chart is named after the Scottish engineer Matthew Henry Phineas Sibly Sankey, who used the visualization in the mid-19th century to show the energy flow in steam engines.
How to create a Sankey chart
Creating a Sankey chart requires several steps. First, you need to gather the data you want to visualize. This could be your own data, or you could find a publicly available dataset online.
Once you have your data, you need to structure it in a way that can be used to create a Sankey chart. This typically involves categorizing your data and creating a source, a flow, and a target. You will also need to determine the thickness of the edges to represent the size of the flow.
Next, you can use a charting library or tool to create your Sankey chart. Popular options include D3.js, Plotly, and Gantt chart software such as Trello, Asana, or Monday.com. These tools allow you to easily create a Sankey chart and customize it according to your needs, such as adjusting the colors, labels, and layout.
Applications of Sankey charts
Sankey charts are useful in a variety of fields, including economics, engineering, and environmental science. Here are some examples of how they can be used:
- Economics: Sankey charts can be used to show the flow of goods and services between different industries, countries, or regional economies. They can help illustrate the relationships between different sectors and how they contribute to the overall economic output.
- Engineering: In energy systems or water flow diagrams, Sankey charts can be used to show the sources and sinks of energy, as well as the flow of energy or water through different stages of the system.
- Environmental science: Sankey charts can be used to demonstrate the flow of pollutants or carbon emissions through different stages of the energy or transportation system, or the flow of water through different ecosystems.
- Business: In business analysis, Sankey charts can be used to show the flow of data, such as website traffic or customer purchases, through different stages of the sales funnel. They can also be used to demonstrate the flow of resources or costs through the product development or manufacturing process.
Mastering Sankey charts
To master the creation and use of Sankey charts, it’s important to follow best practices for data visualization. Here are some steps you can take to ensure your Sankey chart is accurate, clear, and effective:
- Keep it simple: Aim to use the chart to represent a single flow or relationship. Avoid overcrowding the chart with too many flows or entities.
- Use colors effectively: Use colors to differentiate between different flows or groups of flows. This can help the viewer identify and understand the relationships between different entities.
- Label clearly: Make sure that all nodes, edges, and values are clearly labeled and easy to read. Avoid cluttering the chart with too much text.
- Choose the right layout: Experiment with different layout options to find the one that best represents the flow and relationships between entities. This may involve adjusting the size or thickness of the edges, or the positioning of the nodes.
- Validate your data: Make sure that the data you use to create your Sankey chart is accurate and representative. Double check your sources and review your calculations to ensure the chart is conveying the correct information.
In conclusion, Sankey charts are a powerful visualization tool that can help you effectively communicate data flow and relationships between entities. By following best practices for creation and use, you can create accurate and effective Sankey charts that will help viewers understand and interpret your data. Whether you’re analyzing economic flows or illustrating the movement of water through different stages of a system, Sankey charts can be a valuable addition to your data visualization toolkit.
SankeyMaster
SankeyMaster is your go-to tool for creating complex Sankey charts . Easily enter data and create Sankey charts that accurately reveal intricate data relationships.


