How to make your first Sankey diagram from a spreadsheet
Last updated: 19 November 2026
A Sankey diagram shows how an amount splits and flows: where money comes from and goes, where website visitors arrive and end up, where energy is used. This guide takes you from a spreadsheet to a finished diagram in about five minutes. You need a table and a free tool. No account and no code.
What you need
Every Sankey diagram starts from the same three pieces of information for each flow:
- From: where it starts
- To: where it goes
- Amount: how much
One row per flow. That is all SimpleSankey needs.
Step 1: Set up your data in Excel or Google Sheets
Put your flows in three columns with these headings: From, To and Amount. Here is a small example, a website's traffic:
| From | To | Amount |
|---|---|---|
| Search | Home | 150 |
| Search | Pricing | 100 |
| Search | Blog | 250 |
| Social | Home | 100 |
| Home | Signed Up | 30 |
| Home | Left | 220 |
Read it as: 150 visitors came from Search to the Home page, 100 from Search to Pricing, and so on. The same name always means the same box in the diagram: “Home” in the To column of row 1 and the From column of row 5 is one node. Spell it the same each time, capital letters included: “Home” and “home” are drawn as two boxes, though the Data Check will point it out and offer a one-click fix.
Tips:
- Keep one row per flow. If two rows have the same From and To, they are combined.
- Amounts must be numbers greater than zero.
- Make sure what goes into a box roughly matches what comes out, so the diagram balances.
Step 2: Open the editor and paste
Open the SimpleSankey editor. Copy your rows in Excel (without the heading row), click the first cell of the table, and paste. Your diagram appears straight away.
Currency symbols, spaces and thousands separators in the Amount column (such as $1,200.50) are tidied up for you when you paste.
Want to see what a finished table looks like first? Choose Website Traffic from the example list and press Load.
If your data is not in From, To, Amount shape yet, the editor has a “Need help formatting your data?” panel with a ready-made prompt you can copy into an AI assistant. Paste your data under it and paste the answer into the table.
Step 3: Check the Data Check
The Data Check badge at the top of the table turns to “Data OK” when every row can be drawn. If it lists a problem, see the next section.
If something goes wrong
These are the messages the editor shows, and what to do about each one:
- “Row 3: incomplete row ignored until finished.” A cell in that row is empty. Fill in From, To and Amount.
- “Row 3: Amount must be greater than zero; row ignored.” The amount is zero, negative or not a number. Check for stray text or a number stored as text in your spreadsheet.
- “Search → Home: 2 duplicate rows combined.” You have the same flow twice. They are added together, which is usually what you want.
- “Cycle detected: A → B → A.” Your flows loop back on themselves. A Sankey diagram flows in one direction, so remove or rename the row that sends it back.
- “Row 3: self-links are not supported.” A row cannot go from a box to itself. Change the From or To so they differ, or delete the row.
- “"Bing" (row 1) and "bing" (row 2) look like the same node but are drawn as 2 separate nodes.” The same name spelled with different capitals or spacing is drawn as separate boxes. The Data Check flags it and shows a Use “Bing” button that changes every spelling to the most common one in a single step you can undo. Nothing is merged unless you click it.
- “X → Y skips a column, so its ribbon is routed past the nodes in between.” Not an error: the flow jumps over a stage, and the ribbon is drawn around the boxes in between.
Step 4: Arrange it
Your diagram is laid out automatically. To tidy it:
- Drag any node on the diagram up or down to change the order, and use undo if you do not like it.
- Move rows in the table: grab the ⠿ handle at the left of a row and drag it up or down, or click in the row and press Alt+Up or Alt+Down. With Node Order set to Table order, the boxes in each column follow the order of your rows. Group & Sort Rows does the reverse: it puts the table in the same order as the diagram.
- Use Node Order to put nodes in table order, by size, or by the shortest paths.
- Use the sliders for node width and the spacing between nodes and stages.
Next: export it for PowerPoint or a report.
Ready to try it? Paste your own table, free and with no account.
Start SankeyFrequently asked questions
Do I need to sign up?
No. SimpleSankey is free and has no accounts.
Can I paste straight from Excel?
Yes. Copy the From, To and Amount columns and paste them into the table.
How many rows can I use?
Up to 200 rows per diagram.
What if my numbers have a $ sign or commas?
They are tidied up automatically when you paste. If the amounts had a currency symbol and the Prefix is empty, SimpleSankey puts the symbol in the Prefix for you. To add or change symbols on the diagram, open the Number format panel: set a Prefix (such as $ or £), a Suffix (such as k, M or %), the Decimal Places and the thousands separator.
Can I save my work?
Yes. Your work autosaves in your browser, and you can save a project file to open again later. Want to put it in a presentation? See Export your Sankey for PowerPoint, reports and presentations.