Charts
Sankey Chart
Flows from up to six sources to their targets, one ribbon per link, with totals, shares, and a table of flows.
idle
Usage
Examples
Tracked time
Five activities flowing into seven apps; ribbons wear their source's hue.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Order sources and targets so the largest flows run straight across; that keeps ribbons from crossing. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Two columns only: every link runs from a source to a target. Split multi-step flows into several charts. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | Left and right columns in display order. Up to six sources, each coloring its ribbons; targets use the neutral reference tone. |
| | Required | Non-negative flows between a known source and target. Node heights are the sums of their links. |
| | Required / Locale formatting / "en-US" | Names the figure and formats node totals and table values; targets show their share of the total. |