Funnel

@nivo/funnelexperimental

A funnel chart.

This component also provides a React hook which can be used in headless mode: useFunnel(), meaning that you can compute the chart but handle the rendering by yourself, this hook supports almost the same properties as the chart.

The responsive alternative of this component is ResponsiveFunnel.

Actions Logs
Start interacting with the chart to log actions
Base
Datum[]required

Chart data.

numberrequired

Chart width.

numberrequired

Chart height.

objectoptional
px
px
px
px

Chart margin.

stringoptionaldefault:'vertical'

Direction of the chart.

stringoptionaldefault:'smooth'

Part shape interpolation.

numberoptionaldefault:0
px

Spacing between parts

numberoptionaldefault:0.66

Blend shapes.

string | Functionoptional
open editor

Value format supporting d3-format notation, this formatted value will then be used for labels and tooltips.

Style
Labels
Separators
Customization
Interactivity
Motion