🌍 Public
Viewing a saved revision (read-only)
fc5d3c01d8254355b02ac5884e2e70a8
Fork of Let's make a map with D3.js!
This fork of a map-making tutorial uses D3.js to render a natural Earth projection of the world. The visualization first draws a blue sphere as a background, then fetches country boundary data from the `world-atlas` package’s 110m JSON file. It converts the TopoJSON features using the `topojson` library and draws each country as a light green path with a faint black stroke, using `d3.geoPath` with the `geoNaturalEarth1` projection. The map is displayed as static SVG in a 960×500 viewport.
AI-generated description