Skip to main content
100%

Fork of Treemap

✓ Published0🌍 Public
HHaili0109
Last edited Nov 28, 2024
Created on Nov 28, 2024
Forked from Treemap

This fork of a D3 treemap visualizes hierarchical data from a CSV file, showing the production values of countries grouped by continent as nested rectangles. Each rectangle uses color to represent its leaf node, and hovering highlights it while a title tooltip displays the country name and production value. The code uses `d3.csv`, `d3.stratify`, and `d3.treemap` to compute layout, then renders SVG rectangles and text labels with D3 v6.

AI-generated description
MIT Licensed

Similar vizzes