Skip to main content
100%

Treemap

✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 9, 2017
Created on Mar 9, 2017

This interactive treemap visualizes the hierarchical structure of a JSON dataset with nested values. It uses D3.js to render nested rectangles, with each cell colored by category via `d3.scale.category20c`. Clicking a cell triggers a smooth animated transition that expands the selected branch, revealing its children with adjusted positions and sizes. The visualization employs `d3.layout.treemap` for layout calculations and uses JSON data loaded via `d3.json`.

AI-generated description

forked from <a href='http://bl.ocks.org/mundhradevang/'>mundhradevang</a>'s block: <a href='http://bl.ocks.org/mundhradevang/948964'>treemap with mouse interactivity</a>

forked from <a href='http://bl.ocks.org/linnnes/'>linnnes</a>'s block: <a href='http://bl.ocks.org/linnnes/37db5abfe98757f14e182343e1dc5cdc'>treemap with mouse interactivity</a>

mit Licensed

Similar vizzes