Skip to main content
100%

Cheap tricks for interaction

✓ Published0🌍 Public
JJake
Last edited Jul 18, 2020
Created on Jul 18, 2020

This map renders world countries as green vector shapes on a dark blue sphere, using D3's `geoNaturalEarth1` projection and `geoPath` to generate the SVG paths. The map imports country boundaries from the `world-atlas` dataset and supports zooming via the `zoom` API, which updates the group transform on zoom events. Hovering over a country triggers a CSS `:hover` rule, turning the shape red and displaying its name via a `title` tooltip.

AI-generated description
MIT Licensed

Similar vizzes