Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
Rrealperoxid
Last edited Aug 26, 2020
Created on Aug 26, 2020

This example shows an interactive world map rendered with SVG, where hovering over a country highlights it in red and zooming is enabled through mouse or touch gestures. The visualization uses D3 v5’s `d3.zoom` to apply a transform to a group element, while countries are drawn using `d3.geoPath` with a natural Earth projection. Geographic data comes from the world-atlas TopoJSON and TSV files, which supply country boundaries and names for tooltips.

AI-generated description
MIT Licensed

Similar vizzes