Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interaction

Public visualization

Cheap Tricks for Interaction

0 stars0🌍 Public
Ttim-adam
Last edited Jun 21, 2020
Created on Jun 21, 2020

This example demonstrates a natural Earth projection map of world countries, highlighting basic interaction techniques for geographic visualizations. The map renders countries as SVG paths using `d3.geoPath` with a `geoNaturalEarth1` projection, with data from the World Atlas TopoJSON and TSV files. Users can pan and zoom the map through D3’s `zoom` behavior, which applies a transform to the map group. Hovering over any country turns it red, and a tooltip showing the country name appears via appended SVG `title` elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed