Skip to content
SENVENLI UI

Funnel chart

Steps of a process with how many reach each one and the conversion between them.
Checkout funnel
import { FunnelChart } from "@senvenli/react/charts";

Examples

Counts only

Without the conversions, when the absolute numbers are the point.

Guidelines

When to use it

  • Where people drop out of a flow.

Use something else when

  • The steps are independent categories, not a sequence people drop out of. Bar list
  • The steps are a flow to complete, not counts to compare. Stepper

Accessibility

Built in

  • A "Show as table" button shows the same data as a table, which screen readers get by default.

You provide

  • A title that says what the figure is.

API reference

FunnelChart

title
string

What the chart shows, over it; leave it out when a card or a heading already says so.

aria-label
string

Names the chart when it has no visible title (a card's heading already says what it shows).

period
string
isLoading
boolean
emptyState
React.ReactNode

Shown instead of the plot when there is no data: an EmptyState size="small" or text; "No data" by default.

stepsRequired
readonly FunnelStep[]

Truly ordered steps, each a subset of the one before.

valueFormatter
ChartValueFormatterDefault plain
showStepConversion
booleanDefault true

The conversion from the previous step beside each count. On by default.

showTotalConversion
booleanDefault true

The first-to-last conversion in the subtitle. On by default.