Skip to content

Function: addFunnel() ​

ts
function addFunnel(plot, opts): PatchesLayer;

Defined in: charts/funnel.ts:99

Add a funnel chart: one filled trapezoid Patch per stage plus centered labels. Composes Plot.addPatches — low-risk, no new layer type.

Parameters ​

ParameterType
plotPlot
optsFunnelOptions

Returns ​

PatchesLayer

MIT licensed. WebGL2 required.