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