Charts
Sankey chart
Flow between stages. A path from source to outcome.
Props
| Property | Type | Default | Description |
|---|---|---|---|
nodes | SankeyNode[] | — | { name }[]. Ignored when data is passed. |
links | SankeyLink[] | — | { source, target, value }[] using node indexes. |
data | { nodes, links } | — | Alternate payload. Wins over nodes and links. |
variant | "flow" | "gradient" | "dither" | "flow" | Link curvature and opacity. The drawing, not a palette. |
className | string | — | Chart container. Default height is 220px. |