Public
Edited
Nov 4, 2022
Importers
Insert cell
Insert cell
Download Data - INDEX_US_S&P US_SPX.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
// Plot it
Plot.plot({
width: 800,
marks: [Plot.dot(data, { x: "Date", y: "Close", fill: "steelblue" })]
})
Insert cell
data = {
let data = downloadDataIndex_us_sPUs_spx.map(function (o) {
let oo = {};
oo.Date = d3.utcParse("%m/%d/%Y")(o.Date);
oo.Close = parseFloat(o.Close.replace(",", ""));
return oo;
});
return data;
}
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