Free Sankey diagram maker

A Sankey diagram shows flows between stages, with the width of each band proportional to the quantity it carries, as in an energy balance, a budget or a user flow.

Write it as short text or describe it to Tingraph AI. Tingraph lays it out, and the result is a canvas you finish by hand.

SANKEY DIAGRAM✦ TINGRAPH

When to use a Sankey diagram

Show how a quantity divides and combines as it moves: energy balances, material flows, budgets or user journeys.

How a quantity divides and combines as it moves: bands as wide as their flows, between nodes as tall as what passes through them.

What goes on a Sankey diagram

  • Flows to scale
  • Nodes and totals
  • Grey or coloured bands
  • Units

How to make a Sankey diagram

  1. STEP 1

    Write it, or ask AI

    Open the Sankey diagram editor on a working example and change it, or describe what you need to Tingraph AI. This is the source behind the example:

    sankey "Household energy (PJ)" {
      unit "PJ"
      "Natural gas" -> "Electricity" 120
      "Coal" -> "Electricity" 80
      "Natural gas" -> "Heat" 40
      "Electricity" -> "Homes" 70
      "Electricity" -> "Industry" 60
      "Electricity" -> "Losses" 70
      "Heat" -> "Homes" 30
      "Heat" -> "Losses" 10
    }
  2. STEP 2

    Generate

    Press Generate. Tingraph checks the source, lays out the Sankey diagram and draws it on the sheet. A mistake comes back with its line number and what was expected there.

  3. STEP 3

    Finish it by hand

    • Rename a node in place on the sheet.
    • Add, change or remove flows, pin node colours and choose grey or coloured bands in the Sankey panel.

Tip. Write losses and leftovers as flows of their own, so every node visibly balances. A band's width is its value on one scale for the whole diagram.

Sankey diagram maker: questions

What is a Sankey diagram?

A Sankey diagram shows flows between stages, with the width of each band proportional to the quantity it carries, as in an energy balance, a budget or a user flow.

When should I use a Sankey diagram?

Show how a quantity divides and combines as it moves: energy balances, material flows, budgets or user journeys.

What can a Sankey diagram hold in Tingraph?

How a quantity divides and combines as it moves: bands as wide as their flows, between nodes as tall as what passes through them. The Sankey diagram editor's palette holds: Flows to scale, Nodes and totals, Grey or coloured bands, Units.

Can Tingraph AI make a Sankey diagram for me?

Yes, with a free account. Open the Sankey diagram editor, open Tingraph AI and describe what the Sankey diagram should show. It writes the source in this notation, checks that it draws, and you press Generate when it looks right. You can attach a picture or a PDF for it to work from.

Can I edit the Sankey diagram after it is generated?

Yes. Rename a node in place on the sheet. Add, change or remove flows, pin node colours and choose grey or coloured bands in the Sankey panel.

Is the Sankey diagram maker free?

Yes, to start. Without an account you can open the editor, edit the example by hand and export it. A free account adds 10 generations a day, a daily Tingraph AI allowance and 2 saved diagrams; Premium, at US$5 for 30 days, adds unlimited generations, more AI, 100 saved diagrams and every export option.

Can I export the Sankey diagram for a paper or slides?

Yes. Formal black-on-white is the default. Free exports PNG and JPG at up to 2x; Premium adds SVG and PDF, up to 12x, and a transparent background.

Make your Sankey diagram now.

Open the Sankey diagram editor