Public
Edited
Apr 27, 2024
2 forks
1 star
Insert cell
Insert cell
Plot.dot(counties, Plot.centroid()).plot({projection: "albers-usa"})
Insert cell
Plot.dot(counties, Plot.geoCentroid()).plot({projection: "albers-usa"})
Insert cell
Insert cell
Plot.plot({
projection: "albers-usa",
marks: [
Plot.dot(counties, Plot.geoCentroid({stroke: "red"})),
Plot.dot(counties, Plot.centroid({fill: "currentColor", r: 2}))
]
})
Insert cell
us = FileAttachment("us-counties-10m.json").json()
Insert cell
counties = topojson.feature(us, us.objects.counties).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