Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cheap Tricks for Interaction

Public visualization

Fork of Cheap Tricks for Interaction

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed