Skip to main content
100%

Cheap Tricks for Interaction

✓ Published0🌍 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
MIT Licensed

Similar vizzes