Diagrams
Interactive

Sankey Diagram

Sankey diagrams visualize flows and transfers between nodes, where the width of each arrow is proportional to the quantity flowing through it. Originally developed to visualize energy transfer, they're now used for budget flows, customer journeys, material flows, and any process where tracking the magnitude of transfers is important. The conservation of flow (what goes in must come out) makes them excellent for identifying inefficiencies and major pathways.

Interactive Visualization

Loading interactive chart...

This is an interactive sankey diagram. You can zoom, pan, and hover over elements for details.

Try this prompt

"Create an interactive Sankey diagram showing 'US Energy Flow' from sources to end uses. Generate realistic data in quadrillion BTU: Sources (left): Coal (11), Natural Gas (32), Petroleum (35), Nuclear (8), Renewables (12). Transform through: Electricity Generation (38), Direct Use (60). End Uses (right): Residential (21), Commercial (18), Industrial (33), Transportation (26). Show energy losses in electricity generation as a separate flow to 'Rejected Energy' (24). Color flows by source type (Coal: gray, Gas: blue, Oil: brown, Nuclear: purple, Renewables: green). Add hover labels with flow values and percentages. Include a title with total energy consumption."
Generate this now

Python Code Example

Loading code...

Common Use Cases

  • 1Energy production and consumption flows
  • 2Website user journey analysis
  • 3Budget allocation tracking
  • 4Manufacturing process visualization

Pro Tips

Order nodes to minimize crossing flows

Use color to distinguish source types

Add hover labels with exact quantities