Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction

Public visualization

Cheap Tricks for Interaction

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed