Skip to main content
100%

Fork of Cheap Tricks for Interaction

✓ Published0🌍 Public
Lleongtini
Last edited Sep 14, 2022
Created on Sep 14, 2022

This example shows an interactive world map rendered in SVG using the natural Earth projection. Users can pan and zoom by dragging or scrolling, with the viewport transform applied to a group element. Country boundaries and names come from world-atlas TopoJSON and TSV data. The visualization uses d3.geoPath for geographic paths, d3.zoom for interaction, and CSS hover states that turn countries red. A sphere outline and background fill complete the globe-like appearance.

AI-generated description
MIT Licensed

Similar vizzes