Skip to content
ChartslibraryUI Get Pro

Funnel chart

Nested stages with step and overall conversion printed.

When to use

  • Signup to paid conversion
  • Sales pipeline stages

When not to use

  • Stages aren't nested (a later stage can be larger) – use Bar chart

Good practice

  • Report both step and overall conversion.
  • Use the same time window for every stage.

Installation

Funnel chart is a Pro chart.

Installation is part of Pro

The full source is included in the Pro download. Get Pro to install it with the CLI and use it in unlimited projects.

Unlock with Pro
Already have Pro?npx chartslibraryui add funnel-chart --from ./chartslibraryui-pro

Usage

Usage examples are part of Pro

Every example on this page comes with its code in the Pro download. The props and data shape below are public.

Unlock with Pro

Data

Rows in stage order with a stage key and a count key.

[{ stage: "Visited pricing", value: 48200 }, ...]

Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data

Props

Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API

export interface FunnelChartProps extends FrameProps {
  data: Row[];
  /** Key of the stage name, in funnel order. */
  stage: string;
  /** Key of the count at each stage. */
  value: string;
  format?: FormatInput;
}
Pro

Sankey chart

Conserved flows between stages, with cycle checks and in/out balance warnings.

Bar chart

Columns for one measure across periods or categories, always from zero.