Cheap Tricks for Interaction
✓ Published0🌍 Public
This example demonstrates interactive pan and zoom on a natural Earth projection map of world countries. Built with D3 v5, it uses `d3.zoom` to apply SVG transforms and `d3.geoPath` with `geoNaturalEarth1` for rendering. Country boundaries come from TopoJSON world-atlas data, with names matched via a TSV file and displayed as `<title>` tooltips. Hovering highlights a country in red, while the sphere background is blue.
AI-generated descriptionMIT Licensed