Unlisted
Edited
Aug 26, 2024
Insert cell
Insert cell
Plot.plot({
marginBottom: 80,
x: {
type: "band", // ⚠️ not utc
},
y: {
grid: true,
transform: (d) => d / 1e6,
label: "↑ Daily trade volume (millions)"
},
marks: [
Plot.barY(aapl.slice(-40), {x: "Date", y: "Volume", interval: 5e6}),
Plot.ruleY([0])
]
})
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