Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
MMukund Khandelwal
Last edited Sep 24, 2018
Created on Sep 24, 2018

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
MIT Licensed

Similar vizzes