Skip to main content
100%

Fork of Cheap Tricks for Interaction

✓ Published0🌍 Public
LLeiHuang-statistician
Last edited Sep 9, 2022
Created on Sep 9, 2022

This example shows an interactive world map with natural-earth projection, where countries appear as light green regions on a blue sphere and turn red on hover. Users can pan and zoom the map using mouse or touch gestures. Built with D3 v5 and TopoJSON, the visualization loads geographic data from the world-atlas repository, uses `d3.geoNaturalEarth1` for projection, `d3.geoPath` for rendering, and implements zoom via `d3.zoom`. Country names are matched from a TSV file using ISO numeric codes.

AI-generated description
MIT Licensed

Similar vizzes