Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 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
MIT Licensed

Similar vizzes