Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
Rrainyrainyguo
Last edited Nov 15, 2020
Created on Nov 15, 2020
Forked from Let's make a Map!

This example shows a world map that users can pan and zoom, with countries displayed as light green regions that turn red on hover. The visualization loads geographic data as TopoJSON from the world-atlas package and renders it as SVG paths using d3.geoPath with a d3.geoNaturalEarth1 projection. Interaction is implemented through d3.zoom, while country names are joined from a TSV file and displayed via SVG title tooltips.

AI-generated description
MIT Licensed

Similar vizzes