Funnel chart
Nested stages with step and overall conversion printed.
Conserved flows between stages, with cycle checks and in/out balance warnings.
<SankeyChart />Sankey chart is a Pro chart.
Installation is part of Pro
The full source is included in the Pro download. Get Pro to install it with the CLI and use it in unlimited projects.
Unlock with Pronpx chartslibraryui add sankey-chart --from ./chartslibraryui-proUsage examples are part of Pro
Every example on this page comes with its code in the Pro download. The props and data shape below are public.
Unlock with ProAn array of links: { source, target, value }.
[{ source: "Revenue", target: "Gross profit", value: 9.2 }, ...]Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data
Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API
export interface SankeyChartProps extends FrameProps {
data: SankeyLink[];
format?: FormatInput;
/** Nodes to colour with the accent (and their links). */
highlight?: string[];
/** Relative tolerance for in/out imbalance warnings. Default 0.005 (0.5%). */
tolerance?: number;
}Nested stages with step and overall conversion printed.
A bridge from one total to another, with computed subtotals that always close.