Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction

Public visualization

Viewing a saved revision (read-only)

308b725281794a13ac3ad777555d131c

Cheap Tricks for Interaction

0 stars0🌍 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