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.
Chart data.
Chart width.
Chart height.
Chart margin.
'vertical'Direction of the chart.
'smooth'Part shape interpolation.
0Spacing between parts
0.66Blend shapes.
Value format supporting d3-format notation, this formatted value will then be used for labels and tooltips.
Define style for common elements such as labels, axes…
Define chart's colors.
1Part background opacity.
6Width of part border.
Method to compute border color.
0.66Part border opacity.
trueEnable/disable labels. Use styles from theme.labels.text.
Method to compute label color.
trueEnable/disable before separators. Separators inherit styles from theme.grid.line.
0Length of the before separator lines. You should add margin for them to be visible if the value is greater than 0.
0Offset from the parts for the before separator lines. You should add margin for them to be visible if the value is greater than 0.
trueEnable/disable after separators. Separators inherit styles from theme.grid.line.
0Length of the after separator lines. You should add margin for them to be visible if the value is greater than 0.
0Offset from the parts for the after separator lines. You should add margin for them to be visible if the value is greater than 0.
'separators', 'parts', 'labels', 'annotations']Defines the order of layers and add custom layers.
trueEnable/disable interactivity.
0Expand part size by this amount of pixels on each side when it's active
Override default border width when a part is active.
onMouseEnter handler.
onMouseMove handler.
onMouseLeave handler.
onClick handler.
trueEnable/disable transitions.
'default'Motion config for react-spring, either a preset or a custom configuration.