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