Mermaid Sankey diagram online editor
Show how quantities flow between sources, stages, and destinations. Create the diagram in Mermaid Studio, preview it instantly, and export it when it is ready to share.
WHAT IT IS FOR
Make the important relationships clear
Show how quantities move between sources, stages, and destinations while keeping the size of each flow visible.
- Explain budget allocation
- Map energy or resource flows
- Analyze conversion funnels
MERMAID EXAMPLE
Start with a working example
Copy the structure, replace the labels with your own domain, and continue in the full editor.
sankey
Inbound,Active User,120
Inbound,Churn,40
Active User,Save project,75
Active User,Sharing,45HOW TO START
Create your diagram in four steps
- 1Define the sources and destinations.
- 2Use consistent units for every link.
- 3Connect stages in the direction the quantity moves.
- 4Check that totals and labels tell a coherent story.
WRITING TIPS
Keep the diagram useful
Use consistent units across all links.
Keep the number of nodes readable.
FAQ
Frequently asked questions
What does a Sankey diagram show?+
A Sankey diagram shows quantities flowing between nodes, with thicker links representing larger values.
What makes a Sankey diagram readable?+
Consistent units, clear node names, and a limited number of flows make the chart much easier to understand.
TEMPLATES
Start from a related template
RELATED DIAGRAMS
Explore another Mermaid diagram
Mermaid flowchart
Visualize processes, decisions, and system flows with connected nodes.
Read the guideMermaid sequence diagram
Map requests, responses, and asynchronous events between services.
Read the guideMermaid class diagram
Design domain objects, properties, methods, inheritance, and relationships.
Read the guideMermaid ER diagram
Document database entities, fields, relationships, and cardinality.
Read the guideMermaid state diagram
Show how an object or workflow changes state in response to events.
Read the guideMermaid mindmap
Organize ideas and subtopics hierarchically around a central theme.
Read the guideReady to make a Sankey?
Open the editor with a working example and adapt it to your project.
Start in Mermaid Studio