🌍 Public
Viewing a saved revision (read-only)
2ad40cb4aed94397ae159024db7b5cbe
Let's Make a Map!
This example displays the world's countries on a natural Earth projection, with a dark blue sphere (ocean) and light green landmasses. The map is built using D3 v5’s `geoPath` and `geoNaturalEarth1` projection, while the TopoJSON library’s `feature` function converts country boundaries from the `world-atlas` dataset. Rendering occurs as SVG paths, with styling for country strokes and sphere fill.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.