A tree map component using
see this demo.
You can fully customize it using
nodeComponent property to define
your own node component, if you wish to do so you should have a look at
native HTML node component
for available properties.
The responsive alternative of this component is
ResponsiveTreeMapHtml, 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.