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

Comments

Sign in to join the discussion.

MIT Licensed