Squarified treemap algorithm with boxes extruded to height based on data values. Creates a city-block skyline aesthetic with configurable gap, max height, and per-block coloring from the palette. Supports hierarchical data via parentKey.
Subtype
▾
Live Preview
value
name
40
Tech
30
Finance
20
Health
15
Energy
12
Consumer
10
Industrial
Edit JSON above · auto-previews after 0.9 s
Squarified treemap with block height proportional to value.