Cheap tricks for interaction
✓ Published0🌍 Public
A geographic world map of countries in light green on a blue sphere uses D3’s `geoNaturalEarth1` projection and `geoPath` to render vector paths from the TopoJSON `world-atlas` dataset. The visualization shows how hover interaction (CSS `.country:hover`) and a D3 `zoom` behavior (with `event.transform`) provide simple pan and zoom controls. The `tsv` data joins ISO numeric codes to country names, which appear as tooltips via `append('title')`.
AI-generated descriptionMIT Licensed