Platform
Resources
Pricing
Sign in
Get started
Templates /
Plot U.S. Map
Sign up to use template
Observable
The end-to-end solution for building and hosting better data apps, dashboards, and reports.
Workspace
Public
2 collections
By
Paul Buffa
Edited
Jan 20, 2023
261 forks
Importers
2 stars
Insert cell
Insert cell
Plot
.
plot
(
{
projection
:
"albers-usa"
,
width
,
marks
:
[
Plot
.
geo
(
nation
)
,
Plot
.
geo
(
states
,
{
strokeOpacity
:
0.25
}
)
,
Plot
.
geo
(
counties
,
{
strokeOpacity
:
0.1
}
)
]
}
)
Insert cell
import
{
us
}
from
"@observablehq/us-geographic-data"
Insert cell
nation
=
topojson
.
feature
(
us
,
us
.
objects
.
nation
)
Insert cell
counties
=
topojson
.
feature
(
us
,
us
.
objects
.
counties
)
Insert cell
states
=
topojson
.
feature
(
us
,
us
.
objects
.
states
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Listed in...
Templates: Boilerplates
Observable
Templates
Observable
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
nation
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
counties
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
states
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML