🌍 Public
Viewing a saved revision (read-only)
215a65e9e5b545a8ac5ffd7ab0aa62c4
Fork of Let's make a map with D3.js!
This example renders a world map using D3.js and TopoJSON. It displays continents as light green polygons with faint black borders on a blue sphere, using a natural Earth projection. The code constructs the graticule and land masses via `d3.geoPath` with `d3.geoNaturalEarth1`, and loads country boundaries from the world-atlas GeoJSON. Countries are drawn as SVG paths, with the sphere background filled separately.
AI-generated description