Skip to main content
100%

Fork of Treemap

✓ Published0🌍 Public
GGayan Priyadarshana
Last edited Aug 16, 2023
Created on Aug 16, 2023
Forked from Treemap

This visualization shows a hierarchical treemap where rectangular tiles represent data categories, with size indicating their relative production values. The treemap displays five groups (grp1–grp7) nested under an origin node, each filled with a uniform teal color and labeled with white text. Built with D3 v6, the code uses `d3.stratify` to convert CSV data into a hierarchy, `d3.treemap` to compute tile positions, and SVG `rect` and `text` elements for rendering.

AI-generated description
MIT Licensed

Similar vizzes