A variation around the TreeMap component.
Well suited for large data sets as it does not impact DOM tree depth,
however you'll lose the isomorphic ability and transitions.
The responsive alternative of this component is
ResponsiveTreeMapCanvas, it also offers other implementations,
see TreeMap and
Start interacting with the chart to log actions
The hierarchical data object.
The key or function to use to retrieve nodes identity.
The key or function to use to retrieve nodes value.
Strategy used to compute nodes.
Only render leaf nodes (no parent).
Padding between parent and child node. Padding between parent and child node. Adjust pixel ratio, useful for HiDPI screens.
Defines how to compute node color. Control node border width.
modifiersMethod to compute border color.
Defines patterns and gradients. Defines rules to apply patterns and gradients
Skip label rendering if node minimal side length is lower than given value, 0 to disable.
Orient labels according to max node width/height.
modifiersMethod to compute label text color.
onClick handler, it receives clicked node data and style plus mouse event.