Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Treemap - Global Data

Public visualization

Viewing a saved revision (read-only)

127d22e91c4045f98908c113598cb0b9

Treemap - Global Data

0 stars0🌍 Public
Nnitinramagiri1@gmail.com
Last edited Dec 8, 2024
Created on Dec 7, 2024

This interactive treemap visualizes global metrics—such as CO₂ emissions, population, and GDP—for countries grouped by region, with a dropdown to switch between twelve data dimensions. Built with D3.js, it uses `d3.treemap` and `d3.hierarchy` to compute the layout and `scaleSequential` with `interpolateWarm` for color encoding. Hovering reveals a tooltip with region, country, and metric-specific values. The viz renders as SVG, sourcing data from a bundled global dataset.

AI-generated description

Sunburst Chart - CO2 emissions