Fork of Fork of Simple World Map
✓ Published1🌍 Public
This visualization shows a world map highlighting renewable energy production for 2024, using a yellow-green sequential color scale to indicate production levels across countries, with a legend and tooltip providing exact values. It renders the map as SVG using `d3.geoNaturalEarth1` projection and `d3.geoPath`, pulling geographic data from a TopoJSON world atlas. The code uses `d3.scaleSequential` with `d3.interpolateYlGn` to color countries, and a linear scale with axis for the legend. Countries not in the dataset appear gray, and the tooltip displays production in TWh or no data.
AI-generated descriptionMIT Licensed