🌍 Public
Viewing a saved revision (read-only)
4824fcf3047c4f499cf29214788e0fc1
Lets build a map
This example visualizes the world’s countries as a natural Earth projection map. The visualization renders the globe’s sphere as a blue backdrop, then overlays each country as a light green SVG path with a dark green stroke. It uses d3.geoNaturalEarth1, d3.geoPath, and d3.json, along with the topojson feature function to convert the world-atlas GeoJSON Topology into map geometries. The map is drawn into an SVG canvas, with the sphere and country paths styled via CSS classes.
AI-generated description