Fork of TreeMap with Tooltips and colors correctly
✓ Published1🌍 Public
GGayan Priyadarshana
Last edited Aug 18, 2023
Created on Aug 18, 2023
Forked from TreeMap with Tooltips and colors correctly
This interactive treemap visualizes steel scrap exports from various countries, showing total export values per country and their breakdown by commodity type. Users can click on a country cell to drill down into its specific commodity details, with a reset button to return to the top-level view. The visualization uses d3.hierarchy, d3.treemap, and d3.scaleSequential with an interpolateRgb color scale, rendering SVG elements with smooth transitions and tooltips for additional information. Data comes from a CSV file containing partner country, commodity description, and value columns.
AI-generated descriptionMIT Licensed