Fork of Cheap Tricks for Interaction
✓ Published0🌍 Public
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 descriptionMIT Licensed