Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction

Public visualization

Viewing a saved revision (read-only)

dc096ecbc8044fe6a3477819dbbcb0b2

Cheap Tricks for Interaction

0 stars0🌍 Public
Vveagy
Last edited Sep 26, 2018
Created on Sep 26, 2018

This example shows an interactive world map that uses zoom and pan gestures to explore countries, with hover highlighting and country names in tooltips. Clicking a country logs its ID to the console, while a viewport sphere frames the geographic projection. The visualization relies on `d3.zoom` for user-driven transformations, `d3.geoNaturalEarth1` and `d3.geoPath` for rendering TopoJSON features from world-atlas data, and SVG elements styled via CSS. Country names are joined from TSV data using a lookup table.

AI-generated description