A variation around the CirclePacking component.
Well suited for large data sets as it does not impact DOM tree depth, however you lose the isomorphic ability and transitions.
The responsive alternative of this component is ResponsiveCirclePackingCanvas.
It also offers other implementations, see CirclePacking
and CirclePackingHtml.
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.
Chart height.
'Depends on device'Adjust pixel ratio, useful for HiDPI screens.
Chart margin.
Define style for common elements such as labels, axes…
Define chart's colors.
'depth'Define the property to use to assign a color to circles.
falseInherit color from parent node starting from 2nd level.
Defines how to compute child nodes color, only used when inheritColorFromParent is enabled.
0Width of circle border.
Method to compute border color.
Define patterns and gradients.
Define rules to apply patterns and gradients
Custom circle component.
falseEnable/disable labels.
'id'Label accessor.
Filter labels using custom conditions.
8Skip label rendering if node radius is lower than given value, 0 to disable.
Method to compute label text color.
Custom label component.
trueEnable/disable interactivity.
onMouseEnter handler, it receives target node data and mouse event.
onMouseMove handler, it receives target node data and mouse event.
onMouseLeave handler, it receives target node data and mouse event.
onClick handler, it receives target node data and mouse event.
Zoom on a specific node.
trueEnable/disable transitions.
'gentle'Motion config for react-spring, either a preset or a custom configuration.