🌍 Public
Viewing a saved revision (read-only)
ed5c4e091c2d452d8223ec7017e2f1d8
Treemap rect placing
Six panels display the same hierarchical dataset tiled with five different treemap layout algorithms—binary, dice, slice, slice-dice, and squarify—using the `d3.treemap` API. Each panel renders translucent steel-blue rectangles with white labels for node names. The code computes node sizes via `rootNode.sum((d) => d.size)` and positions descendants by `d.x0`/`d.y0` coordinates from the layout pass.
AI-generated description