cheap tricks for interaction
✓ Published1🌍 Public
This interactive map projection displays world countries over a dark blue sphere using D3.js v5 and topojson. The visualization uses d3.geoNaturalEarth1 projection with d3.geoPath to render geographic features, loading country boundaries from the world-atlas 50m dataset. Users can pan and zoom the map via d3.zoom event handling, which applies an SVG transform to the map group. Country names appear as tooltips on hover, derived from the accompanying TSV file, while the green country fill changes to red on mouse-over through CSS hover states.
AI-generated descriptionMIT Licensed