Cheap Tricks for Interaction
✓ Published0🌍 Public
This interactive map displays world countries as colored SVG paths on a globe, with country names shown as tooltips on hover. Built with D3 v5 and topojson, it uses `d3.geoNaturalEarth1` for projection and `d3.geoPath` for generating vector outlines. A `d3.zoom` interaction enables pan and zoom transformations on the map group. Country names are joined from a TSV file (world-atlas 50m) using ISO numeric codes, and hover effects change fill to red via CSS.
AI-generated descriptionMIT Licensed