🌍 Public
Viewing a saved revision (read-only)
ad89c2b06c444502b5c4256a9c240045
Cheap Tricks for Interaction
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 description