Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cheap Tricks for Interaction

Public visualization

Viewing a saved revision (read-only)

8a83a970d78e4d46896cc8fea1440423

Fork of Cheap Tricks for Interaction

0 stars0🌍 Public
Ccharliemok
Last edited Mar 24, 2021
Created on Mar 24, 2021

This map demonstrates interactive pan and zoom on a Natural Earth projection of the world, with country boundaries rendered as SVG paths and tooltips showing country names on hover. The visualization loads world-atlas TopoJSON data and a TSV file mapping ISO country codes to names, then draws countries using `d3.geoPath` with a `geoNaturalEarth1` projection. The zoom behavior is implemented via `d3.zoom`, which applies a transform to the SVG group, while hover styling changes country fill to red.

AI-generated description