Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of TreeMap with Tooltips and colors correctly

Public visualization

Fork of TreeMap with Tooltips and colors correctly

0 stars1๐ŸŒ Public
GGayan Priyadarshana
Last edited Aug 18, 2023
Created on Aug 18, 2023

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 description

Comments

Sign in to join the discussion.

MIT Licensed