Sankey Diagram FAQ: Frequently Asked Questions

Sankey diagrams are widely used to visualize how quantities move, split, and combine across connected stages of a system. While the basic concept is straightforward, working with Sankey diagrams often raises practical questions about data requirements, flow values, interpretation, visualization choices, and technical limitations.

This FAQ brings together clear, practical answers to common questions about Sankey diagrams. It covers everything from understanding nodes and connections to handling complex flows, choosing appropriate tools, and avoiding misleading interpretations.

The questions are organized by topic, so you can find the information you need without reading the entire page. Where a subject requires a more detailed explanation, you’ll also find links to dedicated guides and examples.

Whether you’re exploring Sankey diagrams for the first time or working with them regularly, the goal is simple: accurate answers to specific questions, without unnecessary complexity.

Sankey Diagram Basics

Sankey diagrams are designed to show how quantities move, split, combine, or change across a system. They are especially useful when the relationships between stages matter as much as the totals themselves, because the width of each flow visually represents its magnitude.

What is a Sankey Diagram?

A Sankey diagram is a flow visualization in which quantities move between connected nodes. The width of each flow is proportional to its value, making it easy to see which paths carry the largest or smallest amounts.

What is a Sankey diagram used for?

Sankey diagrams are used to visualize the movement and distribution of measurable quantities through a system. Common applications include energy flows, financial flows, supply chains, customer journeys, process analysis, material flows, healthcare pathways, and operational workflows.

How do you read a Sankey diagram?

Start with the nodes, which represent stages, categories, or states, and then follow the connecting flows between them. Wider flows represent larger values, while splits and merges show how quantities are distributed or combined as they move through the system.

What does the width of a Sankey flow represent?

The width of a Sankey flow represents the magnitude of the quantity moving between two nodes. A flow with twice the value of another flow should normally appear approximately twice as wide.

What do Sankey diagram nodes represent?

Nodes represent the stages, categories, states, locations, accounts, or other entities between which quantities flow. Their meaning depends on the dataset. For example, a node could represent a department, product category, process stage, expense type, or customer state.

What is the difference between a Sankey diagram and a flowchart?

A flowchart primarily describes the sequence and logic of a process. A Sankey diagram also shows connections between stages, but adds quantitative information by making the width of each connection proportional to its value. In short, a flowchart answers “What happens next?”, while a Sankey diagram can also answer “How much moves along each path?”

What is the difference between a Sankey diagram and an alluvial diagram?

Sankey and alluvial diagrams are visually similar, and both use bands to connect categories. Sankey diagrams typically emphasize the magnitude of quantitative flows, while alluvial diagrams are often used to show how groups or categories change across discrete stages. In practice, the terminology sometimes overlaps, especially for multi-stage categorical flow visualizations.

When should you use a Sankey diagram?

Use a Sankey diagram when you want to understand how a measurable quantity is distributed, transferred, split, combined, or transformed across several stages. They are particularly useful when the structure of the flow is important. For example, identifying major paths, losses, allocations, bottlenecks, or destinations.

When should you not use a Sankey diagram?

A Sankey diagram may not be the best choice when you only need to compare a few independent values, show a simple time series, or communicate exact numerical differences between categories. It can also become difficult to read when there are too many nodes or connections. In those cases, aggregation, filtering, or another visualization such as a bar chart may communicate the information more clearly.

Can Sankey diagrams show percentages as well as absolute values?

Yes. Sankey diagrams can represent absolute quantities such as dollars, kilograms, customers, or units, as well as percentages or shares.
The important requirement is consistency: the values used to determine flow widths should represent comparable quantities throughout the diagram.

Sankey Data & Structure

Sankey diagrams are built from relationships between connected stages or categories. In most cases, the underlying data is surprisingly simple: each flow identifies where a quantity comes from, where it goes, and how large that flow is.

What data do you need to create a Sankey diagram?

At minimum, a Sankey diagram needs a source, a target, and a value for each flow. The source identifies where the flow begins, the target identifies where it goes, and the value determines how wide the connection appears.

What are Source, Target and Value in a Sankey diagram?

Source is the starting node of a flow, Target is the destination node, and Value is the quantity moving between them. For example: Revenue → Operating Costs → 250,000 describes a flow of 250,000 from Revenue to Operating Costs.

Can a Sankey diagram have more than two levels?

Yes. Sankey diagrams can contain multiple stages, allowing flows to be followed through a longer process or system. For example, a supply chain diagram might show: Supplier → Factory → Distribution Center → Customer. Multi-level Sankey diagrams are particularly useful when the route through the system matters, not just the starting and ending points.

Can multiple sources flow into the same node?

Yes. Several flows can merge into a common node. For example, salary, pension income, and investment income could all flow into a common income or cash node before being distributed to expenses, savings, or investments.

Can one node split into multiple flows?

Yes. A single node can distribute its value across several destinations. For example, total revenue could split into operating costs, salaries, taxes, investment, and profit. The relative width of each outgoing flow makes the allocation easy to compare visually.

Do the incoming and outgoing values of a Sankey node have to balance?

Not always. Whether a node should balance depends on what the diagram represents. In a physical conservation system such as energy or material flow, differences may represent losses or storage. In business or process data, additional flows may enter or leave the system at different stages. Any imbalance should therefore have a meaningful interpretation rather than being assumed to be an error.

Can the same category appear in different parts of a Sankey diagram?

Yes, although it should be done carefully. A category may appear at different stages when it plays a different role in the process, but repeatedly using identical labels for conceptually different nodes can make a diagram difficult to interpret. Clear naming or stage-specific labels usually improve readability.

Cycles, Negative Values & Special Flows

Not every real-world flow is perfectly linear. Some processes return to earlier stages, some values represent losses or reversals, and some quantities enter or leave a system midway through the flow. These cases require a little more care when building a Sankey diagram.

Can a Sankey diagram contain loops or circular flows?

Sometimes, but support depends on the Sankey engine. Many Sankey layouts assume that flows move forward through a directed structure. Circular relationships can therefore require special layout handling or may need to be represented using helper stages or repeated nodes.

Can Sankey diagrams show negative values?

Not directly in the same way as positive flows, because flow width represents magnitude and cannot have a negative physical width.
Negative values are usually represented by separating the direction, category, or meaning of the flow. For example, showing refunds, losses, or reversals as distinct flows.

How should losses be represented in a Sankey diagram?

Losses are usually shown as an outgoing flow to a dedicated loss, waste, leakage, or unallocated node. This makes the missing quantity visible instead of hiding the difference between incoming and outgoing totals.

How do I represent refunds, returns, or reversals?

Refunds, returns, and reversals are typically modeled as separate flows with their own direction or category. For example, a sales process may show a normal flow toward completed purchases and a separate branch toward returns or refunds.

Can a Sankey flow go backwards?

Conceptually, yes, but backward flows can make a diagram harder to read. In many cases, it is clearer to represent a return or feedback path as a separate stage or node rather than drawing a visually reversed connection across the main flow.

How do I show values that enter or leave in the middle of a process?

A Sankey diagram can include additional inputs or outputs at intermediate stages. For example, extra material, funding, customers, or energy may enter halfway through a process, while losses, drop-offs, or transfers may leave before the final stage. These flows should be shown explicitly so the structure remains understandable.

Sankey Diagrams in Excel

Excel is often where the underlying data already lives, which makes it a natural starting point for Sankey analysis. The main challenge is that Excel does not provide a native Sankey chart, so users typically need an add-in, dedicated application, or another visualization workflow to turn worksheet data into flows.

Can you create a Sankey diagram in Excel?

Yes. Sankey diagrams can be created from Excel data using a dedicated add-in or external Sankey application that reads worksheet data and converts it into connected flows. This allows you to keep the source data in Excel while using a visualization engine designed specifically for Sankey diagrams.

Does Excel have a built-in Sankey chart?

No. Excel does not currently include a native Sankey chart type. Standard Excel charts such as bar, line, area, or waterfall charts cannot directly reproduce the flow-width and node-link structure of a Sankey diagram, so additional software is normally required.

How do I create a Sankey diagram from Excel data?

Start by organizing the data into relationships between stages or categories. A simple Sankey dataset usually contains a source, a target, and a value for each flow. A Sankey tool can then read those relationships and generate the diagram automatically from the worksheet data.

Can I create a Sankey diagram directly from an Excel table?

Yes. An Excel table is a convenient source for Sankey data because each row can represent one flow between two nodes. Using a structured table also makes the dataset easier to filter, maintain, and update as new data is added.

Can I create a Sankey diagram from a PivotTable?

Yes, although the PivotTable usually needs to be arranged so that the resulting data clearly identifies the source, target, and value of each flow. In some cases, it may be easier to use the underlying PivotTable output or create a small helper table that converts the summarized results into Sankey-ready relationships.

Can a Sankey diagram update when the Excel data changes?

Yes, if the Sankey tool supports refreshing or regenerating the diagram from the source worksheet. This is useful for recurring reports because the underlying Excel data can change while the Sankey structure and visualization workflow remain the same.

How should I structure Excel data for a Sankey diagram?

A common structure uses one row per flow with at least three columns: Source | Target | Value. For multi-stage or more advanced diagrams, additional columns can be used to describe categories, stages, labels, colors, or other metadata. The most important requirement is that each row clearly describes a relationship and its magnitude.

Can I create a multi-level Sankey diagram in Excel?

Yes. Excel data can describe flows across several stages, allowing the resulting Sankey diagram to show multi-step processes rather than only a single source-to-target relationship. For example: Supplier → Factory → Distribution → Customer. The number of levels supported depends on the Sankey software being used.

Can I create a Sankey diagram without uploading my Excel data?

Yes, if you use a desktop or locally processed Sankey solution. With local processing, the Excel data remains on your computer and does not need to be uploaded to a cloud service simply to generate the visualization. This can be particularly important when working with confidential, regulated, or commercially sensitive information.

Can I export a Sankey diagram back to Excel or PowerPoint?

Yes, depending on the Sankey tool. Common export options include inserting the visualization into Excel, copying it into PowerPoint, or exporting it as an image or vector graphic for reports and presentations. For professional reporting, high-resolution or vector export is especially useful because it preserves quality when the diagram is resized.

Financial Sankey Diagrams

Financial Sankey diagrams show how money moves through a business, household, budget, or financial structure. Instead of presenting only totals, they make relationships visible – for example, how revenue is distributed across costs, taxes, profit, savings, investments, or other destinations.

What is a financial Sankey diagram?

A financial Sankey diagram is a flow visualization used to show how money enters, moves through, and leaves a financial system. Typical examples include revenue and expenses, profit and loss statements, household budgets, cash allocation, investment flows, and other financial structures where the relationship between sources and uses of money matters.

How do you create a Sankey diagram for an income statement?

Start by identifying the major financial stages and the values that connect them. For example: Revenue → Cost of Goods Sold → Gross Profit → Operating Expenses → Operating Profit. Each relationship is represented as a flow, and the width of the flow reflects the corresponding financial amount. The exact structure depends on the income statement and the level of detail you want to visualize.

How do you visualize a P&L statement with a Sankey diagram?

A P&L Sankey diagram typically begins with revenue and then shows how that amount is distributed across costs, expenses, taxes, and profit. Intermediate financial measures such as Gross Profit, EBITDA, EBIT, or Net Income can be represented as nodes, allowing viewers to follow how the initial revenue changes as different expenses are deducted.

Can a Sankey diagram show revenue, costs and profit?

Yes. This is one of the most common financial applications of Sankey diagrams. Revenue can be shown as the main incoming flow, while costs and expenses branch away from it. The remaining amount can continue through the diagram as Gross Profit, Operating Profit, Net Income, or another profitability measure.

How do you create a cash flow Sankey diagram?

A cash flow Sankey diagram shows where cash comes from and where it is used. Incoming flows may include operating income, financing, investment proceeds, or other sources. Outgoing flows can represent operating expenses, capital expenditure, debt repayment, taxes, investments, or distributions. The diagram can also include a central cash or liquidity node when several sources feed a common pool.

Can Sankey diagrams be used for budgeting?

Yes. Sankey diagrams are useful for showing how a total budget is allocated across departments, projects, cost centers, programs, or spending categories. They can make large allocations and unusual spending patterns visually obvious, especially when the same budget passes through several organizational levels.

How do you visualize multiple income sources and expenses?

Multiple income sources can be shown as separate flows entering a common financial node or pool. From there, the available money can be distributed to expense categories such as housing, salaries, utilities, taxes, savings, or investments. This avoids forcing every individual expense to be linked directly to one specific source of income.

Can multiple income sources flow into a common cash pool?

Yes. A common cash pool is a natural way to represent fungible money. For example, salary, pension income, investment income, and savings withdrawals can all flow into a shared cash node. Expenses can then flow out of that node independently of the original source of the money.

Do expenses need to be mapped to individual income sources?

No. In many financial situations there is no meaningful one-to-one relationship between a particular income source and a particular expense. If money is combined into a common account or cash pool, the Sankey structure can reflect that by merging income sources first and distributing expenses from the combined pool.

How do you show profit or loss in a Sankey diagram?

Profit is typically shown as the remaining flow after costs and expenses have been deducted from revenue. Losses require slightly different treatment because a Sankey flow cannot have a negative physical width. An unprofitable structure can therefore use separate loss nodes, deficit flows, additional funding sources, or other visual conventions that clearly explain the shortfall.

How do you visualize an unprofitable business with a Sankey diagram?

An unprofitable business can be visualized by showing that expenses exceed the revenue available to cover them. The difference may be represented as a separate loss or deficit flow, or additional financing may be shown entering the system to balance the structure. The important goal is to make the shortfall explicit rather than hiding it inside a negative flow value.

Can Sankey diagrams visualize balance sheets?

Yes, although balance sheets require a different structure from income statements. A Sankey diagram can show relationships between assets, liabilities, and equity, as well as how different balance-sheet categories contribute to the overall financial position. Because balance sheets describe stocks at a point in time rather than only flows during a period, the visualization should be designed around the accounting relationships being communicated.

Can Sankey diagrams compare Actual vs Budget?

Yes. Actual and Budget values can be visualized using separate diagrams, scenarios, periods, or clearly differentiated flows. This can help reveal where actual spending, revenue, or allocation differs materially from the planned structure. For detailed variance analysis, Sankey diagrams are often most useful alongside conventional financial tables rather than as a complete replacement for them.

Can Sankey diagrams compare financial periods?

Yes. Financial Sankey diagrams can be created for different months, quarters, or years and compared to show how the structure of revenue, costs, or allocation changes over time. Using a consistent node structure and layout makes period-to-period changes easier to recognize visually.

How do you show taxes, savings and investments in a financial Sankey?

Taxes, savings, and investments can be represented as dedicated destination nodes or financial categories. For example, disposable income may split into living expenses, taxes, savings, and investments, while a business diagram may show tax payments, retained earnings, dividends, or capital investment as separate branches. Using consistent categories and visual styling helps distinguish these different financial roles.

Sankey Diagram Design & Readability

A useful Sankey diagram is not only accurate – it also needs to be easy to follow. Good layout, node ordering, spacing, labeling, and color choices can make the difference between a clear analytical view and a diagram that feels visually overwhelming.

How many nodes should a Sankey diagram have?

There is no fixed ideal number of nodes. A simple diagram may contain only a handful of nodes, while more complex analytical diagrams can contain dozens or even hundreds. The practical limit depends on how clearly the flows can still be followed. If the diagram becomes difficult to scan, it may be better to group small categories, filter the data, or split the analysis into several views.

Can a Sankey diagram have too many flows?

Yes. Too many flows can create visual clutter, overlapping labels, and excessive crossings. The diagram may still be technically correct, but its analytical value decreases if users cannot easily identify the dominant paths. Filtering insignificant flows or grouping small categories can often improve readability substantially.

How should Sankey nodes be ordered?

Node ordering should make the dominant flow structure as easy to follow as possible. Common approaches include ordering nodes by magnitude, business importance, process sequence, category, or the structure of connected flows. A good layout also tries to minimize unnecessary crossings while keeping related nodes visually close to each other.

How should colors be used in a Sankey diagram?

Colors should help explain the structure rather than simply decorate the diagram. They can be used to distinguish categories, stages, outcomes, business functions, or other meaningful groups. Consistent color rules make repeated patterns easier to recognize. Too many unrelated colors can make the diagram harder to interpret, so a restrained and consistent palette is usually more effective.

Should Sankey diagrams always flow from left to right?

No, although left-to-right is the most common orientation. A Sankey diagram can also flow from right to left, top to bottom, or use a more specialized layout when the underlying system requires it. For sequential processes, left-to-right flow is often easiest to read because it matches the reading direction used by many audiences.

Large & Complex Sankey Datasets

Sankey diagrams are often associated with relatively simple examples, but real operational datasets can contain thousands of records, many stages, and large numbers of unique paths. At that scale, the challenge is no longer just drawing the flows – it is preserving enough structure to make the result useful and readable.

Can Sankey diagrams handle thousands of rows?

Yes. A Sankey diagram can be generated from thousands of source records, provided the visualization engine can efficiently aggregate and process the underlying data. It is important to distinguish between input rows and visible flows. Thousands of transactional records may aggregate into a much smaller number of nodes and connections in the final diagram.

How many levels can a Sankey diagram have?

There is no universal maximum number of levels. A simple Sankey may contain only two or three stages, while operational processes, supply chains, customer journeys, or manufacturing workflows may contain many more. The practical limit is usually determined by readability rather than the underlying data structure. As the number of stages increases, layout, spacing, filtering, and navigation become increasingly important.

How do you identify the most important paths in a large Sankey diagram?

The largest individual flows are usually easy to recognize from their width, but the most important complete paths may span several stages. For complex datasets, useful approaches include filtering by magnitude, highlighting selected routes, tracing flows upstream or downstream, or ranking complete paths according to their total value or frequency. The definition of “important” should reflect the analytical question rather than visual size alone.

How do you trace a flow across many stages?

Start from a selected node or flow and follow its connected relationships through subsequent stages. In smaller diagrams this can be done visually. In large diagrams, interactive highlighting, upstream/downstream filtering, or path-focused views can make long routes significantly easier to follow. This is especially useful when many flows overlap or merge before reaching their final destination.

When does a Sankey diagram become too complex to read?

A Sankey diagram becomes too complex when the viewer can no longer identify the relationships that matter without substantial effort.
Typical warning signs include excessive crossings, unreadable labels, hundreds of similarly sized flows, or so many stages that individual paths are difficult to follow. At that point, filtering, aggregation, multiple views, or more specialized analytical methods may provide better insight than displaying the entire network at once.

Can Sankey diagrams be used for operational process data?

Yes. Sankey diagrams can be particularly useful for operational data because they reveal how cases, products, materials, transactions, or other entities move through successive stages. Examples include manufacturing processes, supply chains, logistics, healthcare pathways, service operations, approval workflows, and customer processes. They can help reveal dominant routes, drop-offs, rework, unusual transitions, and differences in how cases progress through the system.

Can a Sankey diagram be generated from transactional data?

Yes. Transactional or event-level records can be transformed into Sankey flows by identifying the relevant stages, states, categories, or transitions and aggregating the corresponding quantities. The resulting diagram does not need to display every transaction individually. Instead, many underlying records can contribute to the same visible connection. This makes Sankey diagrams useful for summarizing large datasets while preserving the structure of how activity moves through a process.