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