DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeData / SQLSankey Diagram Generator

About Sankey Diagram Generator

Sankey Diagram Generator preview - Data / SQL tool

Generate Sankey diagrams to visualize flow and distribution of data. Part of the DevTools Surf developer suite. Browse more tools in the Data / SQL collection.

Use Cases

  • Visualize customer journey flows through a funnel from acquisition to conversion.
  • Show national or organizational energy consumption from sources to end uses.
  • Map budget allocation from departments to projects and line items.
  • Display user flow through an application from entry points to key actions.

Tips

  • Order source nodes by total flow volume — largest flows at the top — to make the diagram readable without visual crossing.
  • Use meaningful node labels, not internal IDs — Sankey diagrams are primarily a communication tool, not an analysis tool.
  • Keep the diagram to 4–6 layers maximum; more layers create visual complexity that obscures the flow story.

Fun Facts

  • The Sankey diagram was named after Irish engineer Matthew Henry Phineas Riall Sankey, who created one in 1898 to show energy losses in a steam engine — it is still cited as the canonical example.
  • Charles Minard's 1869 map of Napoleon's Russian campaign, often called 'the best statistical graphic ever drawn,' combines a Sankey flow with geographic and temporal data on a single chart.
  • Sankey diagrams became widely used in energy analysis in the 1970s during the oil crisis, when governments needed to visualize national energy flows from source to consumption.

FAQ

What data format does a Sankey diagram require?
A list of directed links with source, target, and value fields. Each row represents a flow quantity between two nodes. Nodes are inferred from the unique source and target values.
When is a Sankey diagram the wrong choice?
When you have too many nodes (more than 15–20 creates visual noise), when flows are circular (Sankeys assume directed acyclic graphs), or when precise values matter more than proportional visual comparison.

Related Data / SQL Tools

CSV ViewerCSV → SQL INSERTSQL → CSV FixtureTSV ↔ CSVCSV Schema ValidatorSQL → Prisma SchemaCSV Column RemapperCSV Validator with Schema
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf912+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback