🌍 Public
Viewing a saved revision (read-only)
081da506c8f143cb930b0832c750e957
17_Make a World Map
This example shows a world map rendered with D3 using the Natural Earth projection. The map displays country boundaries as light green filled paths with subtle black strokes, set against a blue sphere background. The code loads GeoJSON data from the world-atlas TopoJSON file, converts it to geographic features with `topojson.feature`, and projects it using `d3.geoNaturalEarth1()`. The SVG paths are generated via `d3.geoPath()` and attached through a data join.
AI-generated description