Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cheap Tricks for Interation

Public visualization

Cheap Tricks for Interation

0 stars1🌍 Public
KKazushige Okuma
Last edited Sep 25, 2019
Created on Sep 24, 2019
Forked from Let's make a map

This example shows a zoomable world map colored by country, with each country’s name appearing as a tooltip on hover. The visualization uses d3.zoom to enable pan and zoom transformations on the SVG group, while d3.geoPath with a geoNaturalEarth1 projection renders the geographic outlines. Country boundaries come from the world-atlas TopoJSON dataset, with names matched via TSV data. Hovering highlights a country in red via CSS, and d3.append adds title elements for the tooltips.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed