Public
Edited
Dec 13, 2023
Insert cell
Insert cell
SP500.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
DJIA.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Plot.plot({
Title: "S&P 500 and DJIA From 2014-2023",
height: 1000,
width: 900,
marginLeft:100,
marginRight: 70,
marginBottom: 70,
marginTop: 70,
style: {fontSize: 24},
marks: [
Plot.ruleY([0]),
Plot.lineY(sandp, {x: "DATE", y: "SP500"}),
Plot.lineY(djia, {x: "DATE", y: "DJIA"})
]
})
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