Public
Edited
Jul 9, 2023
Insert cell
Insert cell
{
return Plot.plot({
marks: [
Plot.ruleY([0]),
Plot.ruleX([new Date(2023, 6, 1)]),
Plot.lineY(windows, {x: "date", y: "diff"})
]
})

}
Insert cell
{
let data = aq.from(windows)
.fold(['temperature', 'temperature_ext'], { as: ['metric', 'value'] })
.objects()

return Plot.plot({
color: {
legend: true
},
marks: [
Plot.ruleY([0]),
Plot.ruleX([new Date(2023, 6, 1)]),
Plot.lineY(data, {x: "date", y: "value", stroke: "metric"})
]
})
}
Insert cell
Plot.plot({
marks: [
Plot.dot(windows, {x: "temperature", y: "diff"})
]
})
Insert cell
windows_08082023.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
import { aq, op } from '@uwdata/arquero'
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