Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US States Map

Public visualization

Viewing a saved revision (read-only)

8582d6b652ea402d9a49c38bb6c4fa17

US States Map

0 stars2🌍 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