Skip to main content
100%

d3 api exploration

✓ Published0🌍 Public
PPatrick Wojda
Last edited Dec 21, 2015
Created on Dec 21, 2015

A treemap organizes the public API of the D3.js library, grouping functions by category such as Selections, Scales, SVG, and Arrays. Each rectangle’s size reflects the number of functions in that section, while its fill color encodes the category. The visualization uses the `d3.layout.treemap` algorithm to position the cells and `d3.nest` to count functions per type from an `api.json` file. Color assignments come from `d3.scale.category20c`, and the SVG elements are constructed with `d3.select` and `d3.append`.

AI-generated description

Similar vizzes