Function: funnelLayout()
ts
function funnelLayout(items, opts?): FunnelStage[];Defined in: charts/funnel.ts:46
Funnel layout: centered trapezoids stacked top-to-bottom, each stage's top width ∝ its value and bottom width ∝ the next value (the last stage tapers to a neck fraction of its own width). Pure — no side effects.
Parameters
| Parameter | Type |
|---|---|
items | readonly FunnelItem[] |
opts | FunnelLayoutOptions |