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
TreeMapHtml.
The hierarchical data object.
'id'
The key or function to use to retrieve nodes identity.
'value'
The key or function to use to retrieve nodes value.
Value format supporting d3-format notation, this formatted value will then be used for labels and tooltips.
'squarify'
Strategy used to compute nodes.
false
Only render leaf nodes (no parent).
0
Padding between parent and child node.
0
Padding between parent and child node.
Chart width.
Chart height.
'Depends on device'
Adjust pixel ratio, useful for HiDPI screens.
Chart margin.