🌍 Public
Viewing a saved revision (read-only)
e4cb1d0a57c04512bb99b19e4d42a987
Let's make a map with D3.js!
This visualization displays world countries as light green polygons on a sky-blue sphere, using D3.js v5 and TopoJSON. It loads world-atlas data from unpkg and renders an SVG map with a Natural Earth projection via d3.geoNaturalEarth1 and d3.geoPath. The sphere outline is drawn first, followed by country features extracted from the TopoJSON topology using the topojson.feature API; each country path gets a thin black stroke with reduced opacity from the accompanying CSS.
AI-generated description