Published
Edited
Feb 23, 2022
1 fork
10 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
chart = Plot.plot({
height: 500,
color: {
scheme: "orrd",
type: "log"
},
y: {
type: "linear",
tickFormat: "~s",
label: "Concentration ↑"
},
marks: [
Plot.rect(
selected.filter((d) => d.value <= valueLowerThan),
Plot.bin(
{ fill: "count" },
{ x: "date", y: "value", thresholds: gridResolution }
)
)
]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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