🌍 Public
Viewing a saved revision (read-only)
aa3b1977acfc42b8801b854dd922fcf4
Let's make a map with d3
This example displays a world map using the Natural Earth projection, with countries filled in light green and the globe’s sphere in light blue. It loads geographic data from the World Atlas TopoJSON file via `d3.json`, converts it using `topojson.feature`, and renders paths with `d3.geoPath`. The code also creates a background sphere path and applies styling from an external CSS file.
AI-generated description