Skip to main content
100%

one

✓ Published0🌍 Public
Mmuchakurthisahithipatel@gmail.com
Last edited Nov 10, 2025
Created on Nov 10, 2025
Forked from one

This interactive map visualizes 2024 renewable energy percentages and CO₂ emissions across twelve countries. A button toggle switches the choropleth’s color scale between green (renewable energy) and red (emissions), with a hover tooltip displaying both metrics. The map uses D3 v7's modular API, including `geoNaturalEarth1` projection, `geoPath`, and `scaleSequential` with interpolators, over TopoJSON world-atlas data. Country fills transition smoothly via D3's `.transition()` method when switching metrics.

AI-generated description
MIT Licensed

Similar vizzes