Sankey Diagram Maker

Make a Sankey diagram online for free: list each flow with where it starts, where it ends and how much, then download a sharp PNG or SVG.

or paste data from a spreadsheet, or drop a CSV file

Legend
Values
Stacked
Smooth
Trend line
Chart
.png

Draw Flows as Bands

A Sankey diagram shows where things go: how a salary splits into rent, food and savings, how energy moves from sources to uses, how visitors move through a website. Each row of the table is one flow with three cells: where it comes from, where it goes and how much. Names that repeat are the same node, so Income can receive from Salary and Freelance and pass on to Housing, Food and Savings. The diagram draws every flow as a band exactly as wide as its amount.

Laid Out for You

There is nothing to arrange. Steps are placed in columns from left to right by how far they are from the start, every end point lines up in the last column, and the nodes in each column are ordered to cut down crossing bands. Each node is as tall as the larger of what flows in and what flows out, and the bands blend from the colour of their source to the colour of their target. With Values on, every node shows its total. A flow that would loop back to an earlier step is left out, and a note under the table says so.

Paste From a Spreadsheet

Copy three columns from Excel or Google Sheets into the top-left cell, or drop a CSV file on the page. For a single path where people drop out step by step, the funnel chart maker is simpler; to show one total split into parts, try the treemap. Every type is on the chart maker.

Download and Share

PNG at 2400 pixels wide, a vector SVG or a JPG, on a light, dark or transparent background. Nothing you type is uploaded: the table, the chart and the file you download stay in your browser, there is no sign-up and no watermark.

Frequently Asked Questions About the Sankey Diagram Maker

What data does a Sankey diagram need?

One row per flow: a source, a target and an amount. Nodes are created from the names you type.

Why is one of my flows missing?

Either its amount is zero or not a number, its source and target are the same, or it points back to an earlier step and would make a loop.

Can a node have several inputs and outputs?

Yes. That is what the diagram is for: a node collects everything flowing in and passes it on to all its targets.