Skip to main content
100%

Fork of Cheap Tricks for Interaction

✓ Published0🌍 Public
AAbhishek Singh
Last edited Feb 13, 2022
Created on Feb 13, 2022

This example displays a world map rendered with SVG paths generated by `d3.geoPath` and the `geoNaturalEarth1` projection, using TopoJSON data from the world-atlas package. Country names are loaded via TSV and added as `<title>` tooltips. The visualization supports pan and zoom through `d3.zoom`, with a `g` element’s transform updated on zoom events. Countries are styled with white fills that turn gold on hover, while the background sphere uses a dark teal fill.

AI-generated description
MIT Licensed

Similar vizzes