# ECharts Sankey Chart

> A flow diagram chart built on Apache ECharts that visualizes how a quantity moves between stages (e.g. funnel or budget flows) through animated, colored nodes and links.

- Author: [Legion Dev](https://21st.dev/@LegionWebDev)
- Library: [Evil Charts](https://21st.dev/@LegionWebDev/library/evil-charts)
- License: MIT
- Tags: Chart, Data Visualization
- npm dependencies: motion, echarts
- Live preview: https://21st.dev/@LegionWebDev/components/echarts-sankey-chart

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/LegionWebDev/echarts-sankey-chart?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/chart.md
