Published
Edited
Apr 27, 2021
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
coronavirusclosedate = covidDataSortedAndGrouped.map(d => d[0]).indexOf("03/19/2020")
Insert cell
coronaviruspaymentdate = covidDataSortedAndGrouped.map(d => d[0]).indexOf("04/09/2020")
Insert cell
sp500 = getTickerHistoryData('^GSPC',length)
Insert cell
index = ["^GSPC", "^IXIC", "^DJI"]
Insert cell
Insert cell
Insert cell
Insert cell
CURGSPC = fetchYahooData(index[0],"5d", "01/01/2015", "04/24/2021")
Insert cell
CURIXIC = fetchYahooData(index[1],"5d", "01/01/2015", "04/24/2021")
Insert cell
CURDJI = fetchYahooData(index[2],"5d", "01/01/2015", "04/24/2021")
Insert cell
md`## Imports`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import {fetchYahooData} from "@spattana/stock-market-performance-of-presidents-trump-obama-w-bush-c"
Insert cell
import { radio, select, slider,checkbox} from "@jashkenas/inputs"
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