Public
Edited
May 31, 2023
5 forks
Insert cell
Insert cell
Plot.plot({
projection: "albers-usa",
marks: [
Plot.geo(statemesh),
Plot.text(states, Plot.centroid({text: (d) => d.properties.name, fill: "currentColor", stroke: "white"}))
]
})
Insert cell
states = topojson.feature(us, us.objects.states).features
Insert cell
statemesh = topojson.mesh(us, us.objects.states)
Insert cell
us = FileAttachment("us-counties-10m.json").json()
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