Public
Edited
Dec 7, 2022
Insert cell
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.areaY(data, {x: "created_at_dt", y: "i"}),
Plot.ruleY([0])
]
})
Insert cell
Plot.plot({
marks: [
Plot.tickX(data, {x: "created_at_dt", y: "year"})
]
})
Insert cell
html`${data.filter(d => d.created_at_dt < new Date('January 21, 2021') && d.text.match('virus')).map(text => `<p>${text.text} — ${text.created_at} | ${text.link}</p>`)}`
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