Silvi

Stages that narrow, drawn as nested areas proportional to each stage's count.

<k.Funnel> draws one rectangle per row, each stage’s area in proportion to its count, nested from the largest at the back to the smallest at the front, with a legend of the exact counts. Use it for a sequence of stages where each is a subset of the one before: visits, carts, orders.

Example

From visit to payment

  • Visited12 000
  • Added to cart3 100
  • Checked out1 450
  • Paid1 210

Props

Also key, description, span (default 1) and info: see Props every component takes.

Name Type Required Default Meaning
series query name yes The query the rows come from, one row per stage in order
label column yes The stage’s name
value column yes The stage’s count
title text yes The heading

For the same stages as squares out of 100, use Waffle.

Checks

A series that is not one of the report’s queries, or a column it names that the query’s rows do not have, fails the typecheck, as does a missing required prop or a value of the wrong type.