FunnelChart
Chart
Stage-by-stage conversion bars: one centered row per stage, labelled on the left and valued on the right.
Playground
Every control sets a real prop of FunnelChartProps. The JSX below updates as you go.
Web
iOS
Android
JSX · FunnelChartProps
Variants
2 examples from src/charts/funnel-chart/funnel-chart.md, each rendered live from its own JSX.
Anatomy
1
Chart frame
2
Stage bar
3
Stage label
4
Value
Dimmed parts appear only in some states or variants.
Props
12 props on FunnelChartProps, grouped as they are declared in source. Required props are marked *.
Accessibility and keyboard
Keyboard
Tab
Focuses the plot
ArrowLeft
ArrowRight
Steps through points when inspectable
Escape
Clears the inspected point
Semantics
Roles
group
image
img
ARIA on web
aria-label
Platform skins
The playground's props on each platform: same tree, native shapes, type and touch sizes.
Usage
The stages stack as a column of rows, each a ramp-colored bar centered in its track at the stage's share of the first stage's value, so the column tapers as the funnel drops off. The stage's label sits at the start of the row and its value, in the mono face, at the end; share shows every stage's percent of the first stage in the value slot instead. Each stage's accessible name carries its percent of the previous stage (of the first stage with share). Press a stage to select it (the others dim).
Tokens
Read from the playground render. Values follow the scheme and the ion hue.
--c1
--c2
--c3
--c4
--fd
--fm
--ft
--ln
--sf
--sh-sm
--tx2
--tx3