Hierarchical CirclePacking chart with zooming ability.
You can fully customize it using the circleComponent property
to define your own, if you wish to do so you should have a look at
the default SVG component
to get started.
The responsive alternative of this component is ResponsiveCirclePacking.
It also offers other implementations, see CirclePackingHtml
and CirclePackingCanvas.
You can also see more example usages in storybook.
Chart data, which should be immutable.
'id'Id accessor.
'value'Value accessor
Optional formatter for values.
0Padding between each circle.
falseOnly render leaf nodes (skip parent nodes).
Chart width for non-responsive component.
Chart default width for responsive component.
Chart height for non-responsive component.
Chart default height for responsive component.
Debounce width/height updates for responsive component.
A callback for when responsive component is resized.
'Depends on device'Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
Ref to the chart's container. Used on this page to generate/download the chart's image via html-to-image.