Skip to main content
100%

Cheap Tricks for Interaction old version

✓ Published1🌍 Public
OOleg
Last edited Nov 20, 2020
Created on Nov 5, 2020

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
MIT Licensed

Similar vizzes