🌍 Public
Cheap Tricks for Interaction
This interactive map displays world countries from the World Atlas TopoJSON and TSV data. It supports pan and zoom via the d3.zoom API. Users can hover over a country to reveal its name label, which is positioned using d3.geoPath centroids. Clicking a country triggers a box zoom to its bounds. The map is rendered using the d3.geoNaturalEarth1 projection, with country labels toggled on mouseover and click events.
AI-generated descriptionMIT Licensed








Comments
Sign in to join the discussion.