Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US States Map

Public visualization

Viewing a saved revision (read-only)

36b12ca4172741ca8acb17fda8d6a533

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
MIT Licensed