Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cheap Tricks for Interaction1

Public visualization

Viewing a saved revision (read-only)

2944bc2e5b584f5f9624bda2efce9ce2

Fork of Cheap Tricks for Interaction1

0 stars0🌍 Public
Ddaniellopez3377
Last edited Dec 20, 2021
Created on Dec 20, 2021

This interactive map of the world renders landmasses as SVG paths using the `d3.geoPath` and `d3.geoNaturalEarth1` projections, with country names provided by TSV data loaded via `d3.tsv`. A `d3.zoom` control lets users pan and scale the map, updating the SVG group's transform on each event. Countries turn red on hover, and the topojson library processes the GeoJSON data from the world-atlas package.

AI-generated description