Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US Map with Zoom on Click

Public visualization

US Map with Zoom on Click

0 stars1🌍 Public
Rrpkupfer@wpi.edu
Last edited Oct 29, 2025
Created on Oct 29, 2025

This interactive map of the United States displays state boundaries using the `d3.geoAlbersUsa()` projection and `d3.geoPath()`, with geographic data sourced from `us-atlas` and parsed via `topojson-client`. Users can click any state to zoom into it using the `d3.zoom` behavior, with a 750ms transition, while hovering highlights the state in red and shows a tooltip with its name. A background click or the “Reset View” button restores the original view. The visualization also supports loading external CSV data, such as the provided `nics.csv` firearm background-check statistics.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed