🌍 Public
Viewing a saved revision (read-only)
20628057bc22422bb4d61f44ae481ab1
Let's make a map with D3.js
This example renders a world map using D3.js and the Natural Earth projection via `d3.geoNaturalEarth1`. It constructs an SVG with a blue sphere background and green country paths using `d3.geoPath` and `topojson.feature`. The map is built from the world-atlas countries-110m JSON dataset, and the code handles path generation for both the sphere and country shapes.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.