Sophie's Let's make a map with D3.js!
✓ Published0🌍 Public
This example shows a world map rendered with a natural Earth projection, where each country is filled in light green and outlined with a faint black stroke against a blue ocean sphere. It uses D3 v5 and TopoJSON to load world-atlas data and convert it into GeoJSON features for drawing. The map is rendered as SVG paths using `d3.geoPath` and `d3.geoNaturalEarth1`, with the sphere backdrop drawn first and country boundaries appended dynamically after the data loads.
AI-generated descriptionMIT Licensed