Unlisted
Edited
Aug 6, 2024
1 fork
Insert cell
Insert cell
Plot.plot({
aspectRatio: 1,
y: {ticks: 12, tickFormat: Plot.formatMonth("en", "narrow")},
marks: [
Plot.rect(seattle.filter((d) => d.date.getUTCFullYear() === 2015), {
x: (d) => d.date.getUTCDate(),
y: (d) => d.date.getUTCMonth(),
interval: 1,
fill: "temp_max",
inset: 0.5
})
]
})
Insert cell
seattle = FileAttachment("seattle-weather.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