🌍 Public
Viewing a saved revision (read-only)
6dbb54ac906c4cdf9c1a5d9a74080c9e
Let's make a map with D3.js!
This map visualization displays world countries as dark shapes on a light sphere using an equal-earth projection. It loads geographic data from the world-atlas JSON dataset and renders it with `d3.geoPath` and `d3.geoEqualEarth`. The topojson library's `feature` function extracts country boundaries, which are drawn as SVG paths. The page includes a static sphere background and dynamically fetches country polygons to populate the map.
AI-generated description