🌍 Public
Viewing a saved revision (read-only)
f9cd044ad6094509b15e1c7b273f1d76
World Map
This example renders a world map using D3.js (v5) and the TopoJSON library, projecting country boundaries with the Natural Earth projection via `d3.geoNaturalEarth1` and drawing them as SVG paths with `d3.geoPath`. It fetches country geometry from the world-atlas dataset hosted on jsDelivr, then styles each country with a yellow stroke and violet background. The map is displayed at a fixed SVG size of 910×415 pixels, with no interaction or animation.
AI-generated description