Skip to main content
100%

US States Map

✓ Published2🌍 Public
CCurran Kelleher
Last edited Aug 18, 2024
Created on Aug 17, 2024

This example renders a geographic map of US states using D3 and TopoJSON, loading data from the us-atlas TopoJSON file. It draws each state with `d3.geoPath` and a `geoAlbersUsaTerritories` projection, which includes US territories. State boundaries appear as white strokes overlaid via a TopoJSON mesh, while the map updates reactively through the `d3-rosetta` StateProperty pattern. The visualization highlights the separation between states and provides a clean, basic template for choropleth or interaction extensions.

AI-generated description

A map that shows US states.

MIT Licensed

Similar vizzes