Public
Edited
May 29, 2023
3 forks
3 stars
Insert cell
Insert cell
Plot.plot({
projection: "albers-usa",
marks: [
Plot.geo(states),
Plot.tip(states, Plot.geoCentroid({title: (d) => d.properties.name, anchor: "bottom", textPadding: 3}))
]
})
Insert cell
Insert cell
Plot.plot({
projection: "albers-usa",
marks: [
Plot.geo(states),
Plot.tip(states, Plot.pointer(Plot.geoCentroid({title: (d) => d.properties.name})))
]
})
Insert cell
us = FileAttachment("us-counties-10m@1.json").json()
Insert cell
states = topojson.feature(us, us.objects.states).features
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.
Learn more