🌍 Public
Viewing a saved revision (read-only)
d8c9e7b65fee432d92a0fd374891bdc5
world map
This example shows a world map rendered as an SVG. It displays countries as white shapes with black outlines on a blue sphere, with a hover effect that changes a country’s fill to orange. The code uses D3 v5 to load GeoJSON country boundaries via `json` and then draws them with `geoPath` and a `geoEquirectangular` projection. It also uses the TopoJSON `feature` function to process the raw data from the world-atlas dataset.
AI-generated description