🌍 Public
Viewing a saved revision (read-only)
ae7ac83e8b434b898cc0d4b56cd9cfec
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.