PROFESSIONAL VISUALIZATION

Sankey Plotter

Build beautiful, interactive flow diagrams from simple text. Inspired by SankeyMatic.

HOW TO USE:

Source [100] Target

Source [*] Target (Auto Balance)

:NodeName #HEX (Node Color)

Interactive Preview
DRAG NODES VERTICALLY
Wages → Budget Value: 2500Bonus → Budget Value: 500Budget → Rent Value: 1000Budget → Food Value: 600Budget → Utilities Value: 400Budget → Savings Value: 500Budget → Entertainment Value: 500Savings → Emergency Fund Value: 200Savings → Investment Value: 300Wages Value: 2500WagesBudget Value: 3000BudgetBonus Value: 500BonusRent Value: 1000RentFood Value: 600FoodUtilities Value: 400UtilitiesSavings Value: 500SavingsEntertainment Value: 500EntertainmentEmergency Fund Value: 200Emergency FundInvestment Value: 300Investment

About the Sankey Plotter

Build Sankey diagrams to visualize how resources, costs, users, materials, or energy move through a system. This page is useful for process mapping, budget communication, funnel analysis, and any workflow where the relative size of each flow matters.

Inputs

Enter source-target-value relationships, assign custom colors, and tune spacing, labels, and layout settings.

Outputs

Generate a readable flow diagram that highlights bottlenecks, dominant paths, and imbalances in the system.

Best practice

Keep node names consistent, balance known totals where possible, and use labels that a reviewer can understand without your source sheet.

tools/sankey-plotter: the short answer

A Sankey diagram shows flows between stages, with link width proportional to the amount. Enter each flow as source, target and value (for example "Salary → Rent, 1,500") and the plotter draws the diagram. It is ideal for budgets, energy flows, website user journeys and conversion funnels.

  • Every flow needs a source, a target and a positive value.
  • Totals into a node should equal totals out, unless the node is a start or end point.
  • Keep it to roughly 5 to 25 nodes for readability.

By the SuperCalX team · Reviewed by Dr. Ahmed Mortuza Saleque, founder and editor · Last reviewed · How we check our calculators · También en español

Good uses for Sankey diagrams

  • Personal budget: income to spending categories; plan figures with the business budget calculator.
  • Marketing funnel: visits to sign-ups to purchases; check each stage with the conversion rate calculator.
  • Energy or material flows in a process.
  • Survey responses moving between choices.

Example data format

SourceTargetValue
SalaryRent1,500
SalaryFood600
SalarySavings700
SalaryTransport300

Design tips for clear Sankey diagrams

  • Order nodes so the biggest flows run straight across and links cross as little as possible.
  • Use one colour per source so readers can follow where each input goes.
  • Label flows with values or percentages for the largest links only.
  • Group tiny flows into an "Other" node.

Worked examples

Monthly budget of $3,100

  1. Enter four flows from Salary to each category.
  2. Widths show rent takes 48% and savings 23%.

A one-glance view of where income goes.

Common mistakes

  • Creating loops (A → B → A), which Sankey diagrams cannot show clearly.

tools/sankey-plotter FAQ

What is a Sankey diagram named after?

Captain Matthew Sankey, who used one in 1898 to show the energy efficiency of a steam engine.

How is it different from a flowchart?

A flowchart shows steps; a Sankey diagram shows quantities moving between them.

Can a Sankey show percentages?

Yes. Enter percentages as values; widths will be proportional just the same.

Can flows split and merge?

Yes. A node can receive several flows and send out several, as long as each link has a value.

Add this calculator to your website

Teachers, bloggers and businesses can show the tools/sankey-plotter on their own pages for free. Copy this code and paste it into your page's HTML:

Please keep the credit link so readers can find the formula, worked examples and guide.