Skip to content
Maps

Geographic Map

Choropleth maps in Observable Plot using the US Albers projection. The primary variant covers US states with built-in TopoJSON; alternates handle generic geographies (any TopoJSON or county-level resolution), European countries, and ZIP-code resolution. All variants are responsive to container width and accept standard TopoJSON / GeoJSON inputs.

4 variants
Theme

US states (primary)

US state choropleth with built-in TopoJSON. Color-encodes by state with tooltips.

Installshow
viz add plot/geo/state-map-v1
Theme

Generic (any TopoJSON)

Generic choropleth supporting any TopoJSON geography.

Installshow
viz add plot/geo/choropleth-v1

No live preview — install to render

plot/geo/europe-map-v1

European countries

European country choropleth with TopoJSON boundaries.

Installshow
viz add plot/geo/europe-map-v1

No live preview — install to render

plot/geo/zip-map-v1

ZIP-code resolution

ZIP-code-level map for fine-grained geographic analysis.

Installshow
viz add plot/geo/zip-map-v1
Usageshow
TypeScript
import { StateMap } from '@/viz/components/plot/geo/state-map-v1';

Metadata

  • FrameworkObservable Plot
  • CategoryMaps
  • Sourceplot/geo/state-map-v1
geographic choropleth topojson

Dependencies

@observablehq/plotd3