Skip to main content
100%

Fork of Maps with Cheap Tricks for Interaction

✓ Published1🌍 Public
Cceresfin
Last edited Jan 31, 2021
Created on Jan 31, 2021
Forked from Maps

A fork of the world-atlas map demonstrates pan-and-zoom interaction using d3.zoom, applied to an SVG group containing country paths rendered with d3.geoPath and a Natural Earth projection. The map loads TopoJSON world data and TSV country names, displaying light-green countries on a dark-blue sphere. Hovering highlights a country in red, while zooming transforms the entire group. This example uses d3 v5 and TopoJSON to combine fundamental data binding with cheap yet effective interaction techniques.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes