atlas
✓ Published1🌍 Public
This visualization displays world countries on a natural Earth projection, with each country filled in light green and highlighted in red on hover. The map supports zooming and panning through d3.zoom, with the sphere background rendered in blue. Using D3 v5 and topojson, the code loads geographic data from the world-atlas package, converts TopoJSON to GeoJSON features, and projects them with d3.geoNaturalEarth1 and d3.geoPath. Country names from the TSV file are linked to each path via a tooltip title element.
AI-generated descriptionMIT Licensed