Cheaper Tricks for Interaction
✓ Published1🌍 Public
This interactive map displays world countries using a natural Earth projection, with hover highlighting and zooming enabled through d3.zoom. The visualization renders geographic features as SVG paths using d3.geoPath, projecting TopoJSON data from the world-atlas package. Country names are joined from TSV data using ISO numeric codes, and tooltips appear via SVG title elements on hover. The map supports pan and zoom transformations triggered by mouse events, with the sphere background and country shapes filled in contrasting colors.
AI-generated descriptionMIT Licensed