🌍 Public
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.