Fork of Maps with Cheap Tricks for Interaction
✓ Published1🌍 Public
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 descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed