🌍 Public
Viewing a saved revision (read-only)
ef4863c77a8c482ba0509ca4bd9bc23a
Cheap Tricks for Interaction
This example displays an interactive world map using a Natural Earth projection, rendered as SVG paths with d3.geoPath. It shows country boundaries filled in light green, with a hover effect that turns them red, and supports zooming and panning through d3.zoom. Geographic data comes from the world-atlas TopoJSON and TSV files, merged via Promise.all. A sphere outline is drawn first, and country names appear as tooltips using appended title elements.
AI-generated description