Public
Edited
May 12, 2023
5 forks
3 stars
Insert cell
Insert cell
Plot.plot({
projection: "albers",
r: {range: [0, 16]},
color: {scheme: "spectral", label: "First year opened", legend: true},
marks: [
Plot.geo(statemesh, {strokeOpacity: 0.5}),
Plot.geo(nation),
Plot.dot(walmarts, Plot.hexbin({r: "count", fill: "min"}, {x: "longitude", y: "latitude", fill: "date"}))
]
})
Insert cell
nation = topojson.feature(us, us.objects.nation)
Insert cell
statemesh = topojson.feature(us, us.objects.states)
Insert cell
us = FileAttachment("us-counties-10m.json").json()
Insert cell
walmarts = FileAttachment("walmarts.tsv").tsv({typed: true})
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