Sankey Diagram Examples
9 Sankey diagrams: gradient, solid and single-color links, stage colors, striped flows, a legend and a layout without labels. Each on React, Vue, Svelte and Solid, drawn with TanStack Charts in your theme. Sankey diagram docs and API.
Every sankey diagram example
9 examples.
- Sankey of Site TrafficSankey diagramSessions from six sources through five landing pages to three outcomes, each link a gradient between its nodes.

- Sankey with Vertical LabelsSankey diagramNames and totals turned to run along the node edges, so the side margins drop to 80 px.

- Sankey Colored by StageSankey diagramA checkout funnel whose tooltip reads each flow as a share of the node it leaves.

- Sankey with Solid LinksSankey diagramGradients off, so every flow takes the color of the node it leaves.

- Single-Color SankeySankey diagramEvery flow in one theme color at 30% opacity, so the widths alone carry the comparison.

- Sankey without LabelsSankey diagramSupport tickets from channel to resolution in a compact layout you read by hovering.

- Sankey with Striped FlowsSankey diagramTrials by channel and plan, the flows striped green into Upgraded and red into Churned.

- Sankey with a LegendSankey diagramCampaign buttons share the hovered node with the chart, so pressing one lights everything it feeds.

- Sankey with Hatched FlowsSankey diagramEvery link into an outcome hatched in that outcome's color, using the kit's pattern presets.

Or describe it. With Pro, your AI agent installs the sankey diagram example you describe, on your framework.
Get ProGalleries
More chart examples
8 more chart types, free: open one for its examples and their code.
Pricing
Sankey Diagram examples MCP, with Pro
Your AI agent installs any of the 1434 examples, and every component, block and icon, with every Pro plan.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
9: Sankey of Site Traffic, Sankey with Vertical Labels, Sankey Colored by Stage, Sankey with Solid Links, Single-Color Sankey, Sankey without Labels, Sankey with Striped Flows, Sankey with a Legend and Sankey with Hatched Flows. Each page has the live chart, its code and a one-line install.
Signed in, copy the chart's command: `npx shadcn@latest add` with its URL. It adds the chart to `components/charts`, the `chart-kit` kit every chart imports, and `@tanstack/charts`. Import the chart and render it.
Yes. Every chart is free to use in personal and commercial projects. Seeing the code and installing it takes a free account, one tap with Google or GitHub. Pro is the site's paid plan for blocks, the Pro collections and the MCP, and the charts don't need it.
4.9 out of 5 from 150+ developers
Every sankey diagram example. One prompt away.
Every sankey diagram example is free with an account. With Pro, your AI agent installs them from a prompt.
Get Pro






















