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
CChooo4u
Last edited Sep 27, 2018
Created on Sep 26, 2018

This interactive map displays world countries from the World Atlas TopoJSON and TSV data. It supports pan and zoom via the d3.zoom API. Users can hover over a country to reveal its name label, which is positioned using d3.geoPath centroids. Clicking a country triggers a box zoom to its bounds. The map is rendered using the d3.geoNaturalEarth1 projection, with country labels toggled on mouseover and click events.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed