Skip to main content
100%

Cheap tricks for interaction

✓ Published1🌍 Public
Aarieltonglet
Last edited Oct 1, 2019
Created on Sep 30, 2019
Forked from Let's make a Map

This example shows a zoomable world map highlighting national borders and country names based on a CSV dataset. The map uses a natural Earth projection and renders geographic features with `d3.geoPath` and TopoJSON from the world-atlas package. Pan and zoom interactions are implemented with the `d3.zoom` API, while hover effects change country fills via CSS. The code fetches country names from a CSV file and builds a lookup table with `csv().then()` to attach tooltips.

AI-generated description
MIT Licensed

Similar vizzes