Unlisted
Edited
Apr 26, 2023
1 fork
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.ruleY([0]),
Plot.areaY(aapl, {x: "Date", y: "Close", fillOpacity: 0.2}),
Plot.lineY(aapl, {x: "Date", y: "Close"})
]
})
Insert cell
Plot.plot({
marks: [
[goog, aapl].map((stock) => Plot.lineY(stock, {x: "Date", y: "Close"}))
]
})
Insert cell
aapl = FileAttachment("aapl.csv").csv({typed: true})
Insert cell
goog = FileAttachment("goog.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