🌍 Public
Viewing a saved revision (read-only)
b11f596750f54913926aa7873e8e12d3
RC 007 Fork of Map
This example presents two synchronized SVG maps: a world map colored by 2022 population data and a zoomed view of Portugal. It uses D3 v7 with the `d3.geoNaturalEarth1` projection, `d3.geoPath`, and `d3.geoGraticule` to render country boundaries and graticules from world-atlas TopoJSON. Population values from a CSV drive a sequential blue color scale, and hovering over a country triggers a tooltip showing its name and population.
AI-generated description