Let's make a map with D3.js!
✓ Published1🌍 Public
This example renders a world map using D3.js and TopoJSON. It draws a dark blue sphere as the earth’s background and then projects country boundaries onto it using the Natural Earth1 projection via `d3.geoNaturalEarth1` and `d3.geoPath`. Country polygons come from the world-atlas TopoJSON dataset at 110m resolution. Each country is filled light green with semi-transparent black strokes, producing a simple choropleth-style base map in SVG.
AI-generated descriptionMIT Licensed