🌍 Public
Viewing a saved revision (read-only)
f5ceff4cd0f34377a34b9d3dc6739abe
Fork of Cheap Tricks for Interaction
This interactive world map displays country names as tooltips and highlights nations in red on hover. The visualization uses a Natural Earth projection via `d3.geoNaturalEarth1` and `d3.geoPath` to render SVG paths from TopoJSON world-atlas data, with country names joined from a TSV file. Zooming and panning are enabled through `d3.zoom`, which applies transforms to the map group. The styling, including the blue ocean sphere and green countries, is defined in CSS with hover effects.
AI-generated description