Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction old version

Public visualization

Viewing a saved revision (read-only)

478db300f5ae48baba26a30894406e94

Cheap Tricks for Interaction old version

0 stars1🌍 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