🌍 Public
Viewing a saved revision (read-only)
5fc353b58fbd45e69f119850a05011cf
Let's make a map with D3.js!
This example displays a world map rendered as an SVG, with countries filled in light green against a blue spherical backdrop. It uses D3 v5 and TopoJSON to load world-atlas data, then applies a natural Earth projection via `d3.geoNaturalEarth1` and traces country boundaries with `d3.geoPath`. The code also draws a background sphere path to represent the globe.
AI-generated description