Skip to main content
100%

Treemap

✓ Published0🌍 Public
Mmbostock
Last edited Mar 7, 2019
Created on Mar 16, 2016

This treemap visualizes the hierarchical structure of the Flare codebase, using rectangular nested cells to represent file sizes and categories. Built with D3.js v4, it uses the `d3.stratify()` and `d3.treemap()` APIs to lay out nodes, with color assigned from a `d3.scaleOrdinal()` palette based on top-level branches. Leaf values from `flare.csv` are displayed inside each cell, while hovering reveals the full path and numeric value. The rendering uses HTML divs positioned absolutely, with nested labels and value text.

AI-generated description

Each pixel represents approximately one byte.

gpl-3.0 Licensed

Similar vizzes