Public
Edited
May 16, 2023
Fork of Untitled
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.ruleY([0]),
Plot.lineY(exp_rev_updated, {x: "Date", y: "Close", stroke: "Blue"}),
Plot.lineY(exp_rev_updated, {x: "Date", y: "Adj Close", stroke: "red"})
],
})
Insert cell
exp_rev_updated.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
= 1 + 2
Insert cell
Plot.plot({
marks: [
Plot.areaY(weather.slice(-365), {x: "date", y2: "temp_min", y1: "temp_max", curve: "step"})
]
})
Insert cell
Plot.plot({
marks: [
Plot.ruleY([10]),
Plot.lineY(
{x: "Date", y: "Close"})
]
})
Insert cell
Plot.plot({
y: {grid: true},
color: {legend: true},
marks: [
Plot.rectY(olympians, Plot.binX({y: "count"}, {x: "weight", fill: "sex"})),
Plot.ruleY([0])
]
})
Insert cell
Plot.plot({
marks: [
Plot.ruleY([0]),
Plot.lineY(aapl, {x: "Date", y: "Close"})
]
})
Insert cell
aapl
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