🌍 Public
Viewing a saved revision (read-only)
9460fc25db004ef88eeb6cd29f270656
Cheap Tricks for Interaction old version
This interactive map visualizes world countries, highlighting each one in red on hover and displaying its name as a tooltip. Built with D3 v5 and the TopoJSON library, it projects geographic data using the Natural Earth projection (`geoNaturalEarth1`) and renders paths via `geoPath`. The visualization incorporates a zoom interaction (`zoom().on('zoom')`) that transforms the map group, with country names loaded from a separate TSV file that is joined to the GeoJSON shapes by ISO code.
AI-generated description