Unlisted
Edited
Apr 21, 2023
4 forks
Insert cell
Insert cell
Plot.plot({
y: {
grid: true,
label: "↑ Temperature (°F)"
},
marks: [
Plot.line(sftemp, Plot.windowY(14, {x: "date", y: "low", stroke: "#4e79a7"})),
Plot.line(sftemp, Plot.windowY(14, {x: "date", y: "high", stroke: "#e15759"})),
Plot.ruleY([32]) // freezing
]
})
Insert cell
sftemp = FileAttachment("sf-temperatures.csv").csv({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