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.
Chart data, which should be immutable.
Optional formatter for values.
Padding between each circle.
Only render leaf nodes (skip parent nodes).
'Depends on device'
Adjust pixel ratio, useful for HiDPI screens.
Define style for common elements such as labels, axes…
Define chart's colors.
Define the property to use to assign a color to circles.
Inherit color from parent node starting from 2nd level.
Defines how to compute child nodes color, only used when inheritColorFromParent is enabled.
Width of circle border.
Method to compute border color.
Define patterns and gradients.
Define rules to apply patterns and gradients
Custom circle component.
Filter labels using custom conditions.
Skip label rendering if node radius is lower than given value, 0 to disable.
Method to compute label text color.
Custom label component.
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.
Motion config for react-spring, either a preset or a custom configuration.