Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 Public
Mmohdabidali
Last edited May 25, 2020
Created on May 25, 2020

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

Similar vizzes