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
991geethikaalwis
Last edited Feb 11, 2023
Created on Feb 11, 2023

This fork demonstrates interactive zooming and panning on a world map, with country names shown on hover. The visualization renders countries using D3’s geo projection and path generation (`d3.geoProjection`, `d3.geoPath`), with geographic data from the world-atlas package. D3’s zoom behavior (`d3.zoom`) is called to handle transforms on the SVG group. Country boundaries are styled in CSS and change color on hover, with tooltips populated from the accompanying TSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed