Public
Edited
Mar 9, 2023
Insert cell
Insert cell
aaplMonthlyMeanDailyVolume = Array.from(
d3.rollup(
aapl,
(v) => d3.mean(v, (d) => d.Volume),
(d) => d3.utcMonth(d.Date)
)
)
Insert cell
Plot.plot({
marks: [
Plot.ruleY([0]),
Plot.lineY(aaplMonthlyMeanDailyVolume, { x: (d) => d[0], y: (d) => d[1] })
]
})
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