๐ Public
Viewing a saved revision (read-only)
c3a48234263340aea8a7dcdeecacca57
Treemap from bl.ocks.org
A treemap visualization displays the hierarchical structure of the flare.json dataset, with nested rectangles sized by either node size or leaf count. The interactive chart allows toggling between these two aggregation modes via radio buttons, triggering a smooth animated transition. Built with D3 v4, the visualization uses `d3.treemap`, `d3.hierarchy`, and `d3.scaleOrdinal` for coloring, rendering SVG cells with clipped text labels and tooltips.
AI-generated descriptionAn example of porting a work from bl.ocks.org into VizHub. This is a direct port of Mike Bostockโs Block: Treemap, modified only to split into separate files, and to fit in the space available.