Skip to main content
100%

Untitled

✓ Published0🌍 Public
CChase Hall
Last edited Dec 2, 2022
Created on Dec 2, 2022
Forked from Practice Face

This interactive map of the United States uses a D3.js geographic projection to display state boundaries, rendered as SVG paths from TopoJSON data. Clicking a state zooms in via a smooth `transition` that adjusts the group’s scale and translate attributes, while the clicked state is highlighted in orange. A click on the background resets the view, returning the map to its original scale and stroke width. The example relies on `d3.geo.albersUsa`, `d3.geo.path`, and TopoJSON’s `feature` and `mesh` methods.

AI-generated description
MIT Licensed

Similar vizzes