Published
Edited
Jun 16, 2022
1 fork
Insert cell
Insert cell
Insert cell
Plot.plot({
width: width,
y: {
domain: [420,540],
label: "↑ VAC"
},
marks: [
Plot.ruleY([0]),
Plot.dotY(data, { x: "date", y: "value", fill: "value" })
]
})
Insert cell
Insert cell
Plot.plot({
y: {
domain: [440,520],
grid: true
},
marks: [
Plot.barY(data, Plot.groupX(
{ y: "mean", filter: null },
{ x: "hour", y: "value" }
)),
Plot.ruleY([480],{ stroke: "goldenrod", strokeWidth: 2 }),
]
})
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