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

Comments

Sign in to join the discussion.

MIT Licensed