🌍 Public
Viewing a saved revision (read-only)
fcc190aa27224df2b80bdf410d522e35
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