🌍 Public
Viewing a saved revision (read-only)
bc5e69438384444680e468df5e5a4c28
Cheap Tricks for Interaction
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