Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
Vveagy
Last edited Sep 29, 2018
Created on Sep 29, 2018

This example shows an interactive world map rendered in SVG, with country boundaries displayed in light green and a blue sphere backdrop. Users can zoom and pan the map using their mouse or touch gestures, while hovering over a country highlights it in red and reveals its name as a tooltip. The visualization uses D3 v5’s `geoNaturalEarth1` projection, `geoPath`, and `zoom` behavior, with TopoJSON data from the world-atlas package. Country names are joined from a TSV file using ISO numeric codes, and the map is drawn from TopoJSON features converted with `feature`.

AI-generated description
MIT Licensed

Similar vizzes