Sankey diagrams are a powerful way to visualize how quantities move through a system. By encoding flow magnitude in the width of each connection, they make it easy to see where resources, customers, energy, money, or other measurable quantities come from, where they go, and which paths dominate the overall structure. But there is no single “best” way to create a Sankey diagram: no-code tools all make different trade-offs between ease of use, flexibility, interactivity, automation, and analytical depth.
In this guide, we’ll build Sankey diagrams with several of the most common approaches, compare their strengths and limitations, and then look at an important question that is often overlooked: what information does a Sankey diagram preserve – and what does it leave behind?
What is a Sankey Diagram?
A Sankey diagram is a flow visualization in which the width of each connection is proportional to the quantity it represents. Instead of showing categories as isolated values, it shows how a measurable quantity moves, splits, combines, or is distributed between different parts of a system.
This makes Sankey diagrams particularly useful when the relationships between stages matter as much as the values themselves. A thick connection immediately indicates a large flow, while a narrow one represents a smaller contribution. Depending on the dataset, that flow might represent energy, money, materials, people, customers, or another quantifiable measure.
History and Evolution of Sankey Diagrams
The Sankey diagram is named after Captain Matthew Henry Phineas Riall Sankey, an engineer who used proportional flow visualization in an 1898 publication on the thermal efficiency of steam engines. His diagram illustrated how energy passed through a steam-powered system, with the width of each band representing a quantity of energy. Instead of relying entirely on tables and calculations, readers could see where useful energy was delivered and where losses occurred.

Images combined from public domain sources.
Anonymus, Public domain, via Wikimedia Commons |
M. H. Sankey, Public domain, via Wikimedia Commons
However, Sankey was not the first to use varying line widths to represent quantities.
Almost three decades earlier, in 1869, French civil engineer Charles Joseph Minard created his celebrated map of Napoleon’s 1812 Russian campaign. The width of the colored band represented the estimated number of soldiers remaining as the army advanced toward Moscow and retreated. Minard combined geography, direction, troop numbers, dates, and temperature into a single visualization.
The two works approached different problems. Minard used proportional width to communicate movement and historical loss; Sankey used it to explain energy distribution and engineering efficiency. Both demonstrated how quantities could be understood through the changing width of a visual flow.
Over the following decades, Sankey diagrams became established in energy and material-flow analysis. Digital tools later extended their use into finance, manufacturing, business intelligence, and other fields.
Modern Sankey diagrams may be interactive, automatically generated, and connected to large datasets. Yet their fundamental principle remains unchanged: flow width represents quantity, making the distribution of a system visible.
Key Concepts: The Building Blocks of Sankey Diagrams
Sankey diagrams are built to show how quantities move through a process or system. In Excel, they follow the same principles as any Sankey diagram, but the structure is defined by tabular data, typically one row per flow. To use them effectively, it’s important to understand their basic building blocks.
- Nodes: Nodes represent categories, entities, or steps in a process. In an Excel-based Sankey, each node corresponds to a value in a specific column (e.g. “Department” or “Phase”). Visually, nodes are shown as vertical blocks. They can function as sources, intermediaries, or destinations. Each node appears once per unique value, and its position is determined by its column order, not the values themselves.
- Flows (Links): Flows are the connections between nodes, they show how much value moves from one node to another. In Excel, these are defined by pairs of adjacent columns. For instance, if one column is “Team” and the next is “Task Type”, then each flow connects a team to a task type. The width of each flow is proportional to the numeric value attached to that row, often something like “Budget”, “Hours”, or “Quantity”.
- Source and Target: Every flow has a source (the node it comes from) and a target (the node it leads to). These are defined implicitly by column positions. For example, “Product Line” might be the source and “Region” the target. Understanding this directionality is essential, Sankey diagrams are not symmetric; they show direction.
- Drop-offs: A drop-off is a flow that doesn’t lead to another node, either because the process ends there or the value is lost (waste, inefficiency, unknown destination). In Excel terms, this may appear as a missing value in the next column, or as a terminal node with no further connections. Drop-offs help highlight where resources are leaking from the system.
- Value: This is the quantitative field that determines flow thickness. Each row in Excel has a numeric value, like “Cost” or “Volume”. These values are used to proportionally scale the flows, so that more significant movements are visually prominent.
- Hierarchy Levels: In multi-level Sankey diagrams, each column in Excel represents a level in the hierarchy. For example, you could model: Project > Phase > Team > Task > Outcome. Each level adds depth to the diagram and helps identify how values break down across multiple dimensions. A good Sankey generator should handle at least 6–10 levels.
The main strength of a Sankey diagram is its ability to combine structure and magnitude in a single visualization. It shows how quantities are distributed between connected parts of a system, making major flows, splits, and concentrations easier to identify.

This makes Sankey diagrams useful for visualizing energy transfers, financial allocations, material movements, and customer or process flows.
An important distinction is that a Sankey diagram primarily represents quantified relationships between connected nodes. Aggregated flows do not necessarily preserve the complete paths or journeys that produced them. Understanding this difference is essential when interpreting multistage processes, and we will examine it more closely later in this guide.
How to Read a Sankey Diagram
A Sankey diagram can make complex systems easier to understand, but interpreting it correctly requires more than simply following its colored ribbons. Understanding what the nodes, connections, numerical values, and percentages represent is essential to drawing meaningful conclusions.
Understand the Anatomy of a Sankey Diagram
A Sankey diagram consists of nodes and weighted connections. Nodes represent the categories, entities, or stages within a system, while the connecting ribbons represent the quantities distributed between them.

In the example above, a total demand of 1,000 units is distributed across three sectors: residential (300 units), commercial (500 units), and industrial (200 units).
The diagram communicates both the structure of this distribution and its relative magnitude. Commercial demand accounts for half of the total, while residential and industrial demand together account for the remaining half. Always identify the measurement unit before interpreting a Sankey diagram. The same visual structure could represent electricity consumption, financial expenditure, material volume, or customer activity.
Interpret Flow Widths and Relative Magnitudes
The defining visual characteristic of a Sankey diagram is the proportional relationship between flow width and numerical value.

In this example, organic traffic accounts for 60,000 of the 100,000 recorded visits, followed by paid traffic with 30,000 and referral traffic with 10,000.
In a correctly scaled Sankey diagram, the organic traffic ribbon should be twice as wide as the paid traffic ribbon and six times as wide as the referral traffic ribbon. The length, curvature, and vertical position of a ribbon do not inherently represent additional quantitative information. Colors can help distinguish categories or emphasize selected connections, but their meaning depends on the visualization’s design.
It is also important to distinguish volume from performance. Organic traffic generates the largest number of visits in this example, but without conversion or revenue data, we cannot conclude that it is the most effective acquisition channel.
Recognize Branching, Convergence and Flow Balance
One of the greatest strengths of Sankey diagrams is their ability to represent multiple incoming and outgoing flows within a single visual structure.
In this example, 10,000 orders originate from three different channels and are subsequently distributed across three final outcomes. The central Orders node illustrates convergence, where quantities from different sources are combined. The outgoing connections illustrate branching, where the combined quantity is distributed across multiple destinations. Both incoming and outgoing quantities total 10,000, making this a balanced flow structure.

However, the diagram does not reveal how many online orders were returned or which sales channel contributed the most delivered orders. That information cannot be recovered from these aggregated connections alone.
When examining flow balance, remember that differences between incoming and outgoing quantities may represent actual losses, accumulation, process termination, missing observations, or boundaries in the underlying data.
Follow Connections Across Multiple Stages
Multistage Sankey diagrams extend the visualization beyond simple source-to-destination relationships, allowing readers to examine how quantities are distributed across successive stages.
In this example, 3,000 leads are distributed across qualification stages, proposal statuses, and final sales outcomes. Highlighting selected connections makes it easier to follow relationships through an otherwise complex flow structure. When interpreting such diagrams, pay particular attention to major branching points, shared intermediate nodes, dominant connections, and final outcome distributions.

Percentages must also be interpreted within their reference population. The 630 successful outcomes represent 21% of all 3,000 leads, but this does not establish the conversion rate of any individual lead source.
Furthermore, a continuous highlighted route through aggregated connections does not necessarily prove that the same individual records followed that complete sequence. Establishing this requires access to the original observed paths. This distinction becomes increasingly important as the number of analytical stages grows.
A Sankey diagram reveals how quantities are distributed throughout a system. Understanding the relationships, percentages, and data structures behind those quantities is what turns visual observation into meaningful analysis.
Sankey Diagram Data Structures
Sankey diagrams can be generated from different data structures, depending on the nature of the flows and the information available in the original dataset. Two particularly common approaches are the source–target–value format and the multi-level format.
Source-Target-Value Format
Each row defines an individual connection between two nodes and its associated quantitative value.
| Source | Target | Value |
|---|---|---|
| Revenue | Gross Profit | 600 |
| Revenue | Cost of Revenue | 400 |
| Gross Profit | Operating Profit | 350 |
| Gross Profit | Operating Expenses | 250 |
This format is particularly suitable for financial reporting, energy balances, material flows, and resource allocation.
Multi-Level Format
Each row represents a complete sequence across multiple stages, together with its associated value.
| Channel | Interaction | Outcome | Value |
|---|---|---|---|
| Organic | Demo | Converted | 100 |
| Organic | Website | Not Converted | 150 |
| Referral | Demo | Converted | 80 |
This structure is useful for customer journeys, operational workflows, clinical pathways, and other multi-stage processes. Both formats can produce identical Sankey diagrams. However, aggregating complete paths into individual connections may result in information loss. The original sequences cannot always be reconstructed from aggregated flows alone.
For a detailed explanation of both formats, data conversion, and their analytical implications, explore our guide about data structure.
How to Create a Sankey Diagram: Step-by-Step Guide
Creating a Sankey diagram involves three fundamental tasks: preparing the underlying data, generating the visualization, and interpreting the resulting flows. While the exact workflow varies between tools, the basic principles remain the same.
In this example, we use SankeyEngine, an Excel-connected desktop application to visualize an accounts receivable process, from product categories and payment terms through collection activities to final payment outcomes.
Step 1: Prepare Your Data
A Sankey diagram requires categorical information defining the connections between nodes and a numerical measure determining the width of each flow. For a multistage process, the data can be organized into a table in which each row represents an observed journey and its associated value. In our example, the dataset contains six levels:
- Product
- Payment Terms
- Workflow Channel
- Collection Action
- Response Signal
- Payment Status
The final column, Amount, contains the numerical value used to calculate flow widths. Other Sankey tools may require a source–target–value data structure instead. The appropriate format depends on the visualization tool and the information you want to preserve.
Step 2: Generate the Sankey Diagram
Once the data is ready, select the data range in Excel and click Open in SankeyEngine on the dedicated ribbon tab.

SankeyEngine launches a desktop application and automatically generates the multilevel Sankey diagram. The categorical columns define the levels, while the numerical values determine the width of the connections.
The resulting visualization provides an overview of how receivable amounts are distributed across products, payment terms, collection workflows, and payment outcomes.
Step 3: Explore the Flow Structure
Once the diagram has been generated, start by identifying the largest flows, major branching points, and connections between stages. Interactive Sankey diagrams make this easier by allowing users to highlight individual nodes and inspect their numerical values.

In this example, selecting the Auto Email node reveals a total flow of 578,210, representing 26.9% of the dataset. Its largest direct outgoing connection leads to Reminder Sequence, accounting for 62.4% of the selected node’s flow.
This illustrates how a Sankey diagram can combine visual exploration with precise quantitative information.
Step 4: Analyze Upstream and Downstream Flows
Beyond examining direct connections, some interactive Sankey tools allow users to investigate how selected flows relate to earlier stages or final outcomes.
Downstream analysis
Downstream analysis starts with a selected node and examines where its associated quantities ultimately end up.

For example, selecting Hardware Upfront reveals how the associated receivable amounts are distributed across final payment statuses. In this dataset, 17.5% of the selected amount was recovered after escalation, compared with a peer average of 10.4%.
Upstream analysis
Upstream analysis approaches the same system from the opposite direction, examining where the quantities associated with a selected node originated.

Selecting Overdue 90+d reveals the product categories contributing to this outcome. Hardware Upfront and Professional Services are the two largest contributors by amount. In SankeyEngine, these upstream and downstream calculations are based on the original observed journeys rather than estimates derived from aggregated connections.
The distinction becomes particularly important when interpreting complex multistage processes, as we will discuss later in this guide.
Other Ways to Create a Sankey Diagram
Sankey diagrams can be created using a wide range of tools, from spreadsheet add-ins and online generators to programming libraries and business intelligence platforms.
Explore our dedicated guides for different approaches:
- How to Create a Sankey Diagram in Excel
- Sankey Diagram in Python
- Sankey Diagram in Power BI
- Sankey Diagram in D3.js
- Sankey Diagram in Tableau
You can also explore online Sankey generators and free tools, as well as our Sankey diagram software comparison, to find the approach that best fits your requirements.
Common Use Cases of Sankey Diagram
| Use Case | What the Sankey Diagram Helps You Understand | Why Excel Is a Suitable Platform |
|---|---|---|
| Recruitment Funnel Analysis | Reveals drop-offs and conversion efficiency at each stage, from applicant screening to onboarding | HR teams often manage applicant data in structured Excel trackers, enabling direct visualization without migration. |
| Energy Flow Modeling | Maps how energy is sourced, transformed, and dissipated across systems (e.g. input > conversion > waste) | Excel provides a robust environment for modeling renewable energy flows and efficiency metrics, especially when combined with structured visual tools like the Renewable Energy Chart. |
| Departmental Budget Allocation | Shows how financial resources are allocated across teams and how funds are ultimately spent | Financial planning and departmental budgets are frequently managed in Excel, facilitating direct linkage to flows. |
| User Journey on Websites | Tracks how users navigate between pages or features, and where they exit the session | Analytics platforms (e.g. GA4) export structured CSV data, which can be cleaned and modeled in Excel |
| Supply Chain Flow Mapping | Illustrates how goods or components move through logistics nodes from origin to delivery | Logistics teams commonly use Excel for shipment, warehouse, and supplier-level breakdowns |
| Marketing Funnel Visualization | Highlights transitions between lead stages, capture, nurture, conversion, retention | Campaign metrics and CRM exports are often analyzed and combined in Excel for lead attribution modeling |
| Order Fulfillment Flow | Displays the movement of customer orders across order processing, packaging, shipment, and delivery | eCommerce teams rely on Excel-based order logs and fulfillment dashboards for daily tracking |
| Project Resource Utilization | Maps how team members, tasks, and resources are distributed across project phases | Project managers often track deliverables, staff assignments, and time budgets in Excel Gantt-type tables |
| Survey Response Segmentation | Visualizes how different demographic groups responded to survey questions or trends | Survey tools export raw response data (e.g. SurveyMonkey, Google Forms), which Excel can segment and aggregate |
| Revenue Composition Analysis | Breaks down total revenue into contributing streams, by product line, region, or channel | Excel is widely used for cash flow tracking and segment-based financial reporting in SMBs and startups |
Sankey Diagram Examples
Sankey diagrams have a wide range of practical applications across various industries and analytical domains. Their ability to visualize both the magnitude and direction of flows makes them particularly valuable for understanding complex systems, revealing hidden relationships, and supporting data-driven decisions. The following examples illustrate how Sankey diagrams can be applied in different real-world scenarios.
Energy Flow Diagram
Sankey diagrams are particularly effective for visualizing how energy flows from various sources through generation and conversion processes to its final applications. By representing energy quantities through proportional flow widths, they make it easy to identify dominant energy pathways, compare source contributions, and understand how energy is distributed across different end uses. This helps analysts evaluate system efficiency, identify potential losses, and uncover opportunities for optimizing energy production and utilization.

Supply Chain Analysis using Sankey Diagrams
Sankey diagrams provide a comprehensive view of how goods move through complex supply chain networks, from points of origin through transportation, customs clearance, and distribution centers to final delivery outcomes. By visualizing shipment volumes and their associated pathways, they help identify logistical bottlenecks, inefficient routes, and patterns associated with delivery delays. This enables supply chain managers to assess operational performance, mitigate risks, and optimize transportation and distribution strategies.

Financial Income Statement Analysis using Sankey Diagrams
Sankey diagrams offer an intuitive way to visualize a company’s income statement, illustrating how revenue from different business segments is allocated to costs, operating expenses, taxes, and ultimately net profit. The proportional flow widths make revenue composition, cost structure, and profit margins immediately apparent. This enables financial analysts, investors, and decision-makers to better understand profitability drivers, identify major expenditure categories, and communicate complex financial information more effectively than traditional tabular presentations.

Common Disadvantages and Limitations of Sankey Diagrams
Sankey diagrams are effective at revealing flow structures and relative magnitudes, but they have limitations. Understanding these helps prevent misleading interpretations and clarifies when other analytical approaches may be needed.
- Visual complexity. As the number of nodes and connections increases, Sankey diagrams can become crowded and difficult to navigate. Overlapping ribbons and numerous small flows may obscure important relationships, although interactive filtering and highlighting can help.
- Limited precision in visual comparisons. Flow widths are excellent for identifying large differences, but smaller variations are harder to judge accurately. Exact values, percentages, or supplementary tables are often needed for detailed comparisons.
- Dependence on the underlying data model. A Sankey diagram is only as meaningful as the data behind it. Connections do not automatically imply causation, left-to-right arrangements do not necessarily represent chronological events, and missing observations should not be interpreted as actual losses without supporting evidence.
- Loss of complete-path information through aggregation. Aggregated links show how quantities are distributed between connected nodes, but they may not preserve which complete sequences actually occurred. Different sets of observed journeys can produce identical Sankey connections, making it impossible to reconstruct individual routes from those links alone.
- Limited analytical depth on its own. A Sankey diagram can reveal where flows concentrate, split, or converge, but it does not automatically explain why patterns differ or how entire observed journeys compare across populations. Answering those questions may require the original records and additional analytical methods.
From Flow Diagrams to Journey Analysis
Sankey diagrams are effective at showing how quantities move between connected stages. However, aggregated flows do not necessarily reveal the complete journeys taken by individual entities through a system.
Two datasets can produce identical aggregated link values while containing different sequences of observed journeys. This distinction becomes important when analyzing customer journeys, patient pathways, or multistage business processes, where the order and combination of events may matter as much as the volume of flows.

Journey analysis goes beyond individual connections by examining complete observed sequences, comparing pathways across groups, and investigating how different routes relate to outcomes.
A Sankey diagram shows how flows are distributed; journey analysis examines the sequences behind those flows. The two approaches can complement each other, but they answer different analytical questions.
When a Sankey is Enough – and when it isn’t
A Sankey diagram is often sufficient when the primary goal is to understand how quantities are distributed across a system. It can reveal major flows, branching patterns, concentrations, and losses without requiring a more complex analytical approach.
A Sankey diagram is usually enough when you want to:
- Identify the largest flows between processes, categories, or stages.
- Understand how quantities split, merge, or move through a system.
- Compare the relative magnitude of different connections.
- Visualize energy balances, financial allocations, or material flows.
- Communicate the overall structure of a process clearly.
Additional analysis may be necessary when you need to:
- Examine complete observed journeys rather than individual aggregated connections.
- Determine which sequences of events are most common.
- Compare how different populations move through a multistage process.
- Investigate relationships between specific pathways and final outcomes.
- Understand why observed differences occur, rather than simply identifying where they appear.
The appropriate method depends on the question being asked and the data available. Journey analysis can provide additional insight when complete sequences matter, while statistical analysis, process mining, or other techniques may be needed for different objectives.
A Sankey diagram is not an incomplete form of journey analysis. It is a visualization method designed to answer a different set of questions. When flow structure and magnitude are the primary concerns, a well-designed Sankey diagram may be all that is needed.
Sankey Diagram – Frequently Asked Questions
Can I make a Sankey chart in Excel?
Yes. Although Excel does not provide a dedicated built-in Sankey chart type, you can create Sankey diagrams using third-party add-ins or external visualization tools that work with Excel data. These solutions typically use source, target, and value columns to define the flows. Depending on the tool, you may be able to create a diagram without writing any code.
What type of data does a Sankey diagram generally use?
Sankey diagrams use quantitative data representing flows or distributions between connected categories, processes, or stages. Common examples include energy, money, materials, and customer movements. Each connection has a source, a target, and a numerical value that determines its width. The values should represent comparable quantities within a consistent measurement system.
What are the principles for an effective Sankey diagram?
An effective Sankey diagram should make flow direction, relative magnitude, and relationships between stages easy to understand. Use clear labels, consistent scaling, meaningful colors, and a layout that minimizes unnecessary crossings. Avoid excessive detail when it obscures important patterns, but do not remove information essential to understanding the system. The appropriate number of nodes and connections depends on the complexity of the data and the purpose of the visualization.
What represents Sankey Diagram nodes?
Nodes represent the categories, processes, stages, or entities between which quantities flow. A node may receive incoming flows, distribute quantities to other nodes, or serve as a starting or ending point. The widths of the connecting flows represent their numerical values, while node dimensions and positioning depend on the visualization’s layout and scaling rules. Nodes provide the structure that connects the different parts of the system.
How do you draw a Sankey?
Start by identifying the quantities you want to visualize and the categories or stages between which they flow. Organize the data into source, target, and value fields, then create nodes and connect them with links whose widths are proportional to their values. Arrange the nodes to make the flow structure readable, and add labels and colors where they improve interpretation. You can draw simple diagrams manually or use dedicated software to generate them from data.
For more detailed answers, explore our Sankey Diagram FAQ, covering data requirements, interpretation, tools, limitations, and practical questions.