🌍 Public
Viewing a saved revision (read-only)
a562d622d36d48e8acc1726c9b005a32
Fork of Let's make a map with D3.js!
This example displays a natural Earth projection of the world, with countries rendered as green SVG paths and oceans as a blue sphere. It uses D3 v5’s `geoNaturalEarth1` and `geoPath` to generate the projection, while TopoJSON’s `feature` extracts country boundaries from the world-atlas 110m dataset. The code loads geographic data asynchronously via `json`, then appends each country path to the SVG canvas.
AI-generated description