Skip to content

Variable: funnel ​

ts
const funnel: ExpressFunction<FunnelOptions>;

A funnel chart (px.funnel): one funnel trace per color group — stages on the category axis (y when the values are x), each bar as wide as its value, stacked across groups (funnelmode: 'stack') — per facet and per frame.

Example ​

ts
const figure = funnel(rows, { x: 'count', y: 'stage', color: 'office' });

Released under the MIT License.