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
Bbluelionz7
Last edited Aug 18, 2021
Created on Aug 18, 2021

A fork of a D3.js interaction example displays a world map using the Natural Earth projection with countries rendered as SVG paths. The visualization loads geographic data from the `world-atlas` package, merging country names from a TSV file with geometry from a TopoJSON file. Pan and zoom interactions are handled by `d3.zoom` with the `event.transform` updating the map group. Hovering highlights countries in red via CSS, and tooltips show country names using `d3.geoPath` for projection and the `.title` element.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed