Tree Map Example
✓ Published1🌍 Public
This interactive tree map visualizes the value of steel scrap exports from various countries, organized by destination country and then by specific commodity type. Each rectangle's area corresponds to the export value in dollars, providing a clear comparison of the trade volumes between categories. The visualization is rendered using the D3.js version 7 library, which constructs a hierarchical data structure from a CSV file and applies a treemap layout algorithm. The chart uses SVG for rendering rectangles and text labels, with the color palette consistently applying a single green tone to all nodes.
AI-generated descriptionMIT Licensed