🌍 Public
Viewing a saved revision (read-only)
de7afd935a3542f2a0c269a2b7175f22
Let's make a Map!
This example displays a world map of countries as light green shapes against a dark blue spherical background, using a Mercator projection. It loads geographic data from the world-atlas TopoJSON dataset and renders it as SVG paths with d3.geoPath. The code employs d3-geo projections, topojson.feature for extraction, and a select-all data join to bind country features to path elements.
AI-generated description