🌍 Public
Viewing a saved revision (read-only)
cd641eac30134e0f9ae57bc928622d8b
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