Published
Edited
Oct 19, 2020
1 fork
Importers
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
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
// NYTdataCounty = await pullNYTcovid("https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-counties.csv")
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
/* BigCountyArray = {
let theData = NYTdataCounty
theData = theData.map(function(x) {
let y = JSON.parse(JSON.stringify(x))
y["Country/Region"] = y.state+'-'+y.county
return y
})
let datesToKeep = new Set(theData.map(x=>x["date"]))
datesToKeep = [...datesToKeep].sort().slice(-1)
let recentData = theData.filter(x=>datesToKeep.includes(x["date"]))
let placesToKeep = new Set(recentData.filter(x=>x.cases>internalCountyCaseCutoff).map(x=>x["Country/Region"]))
placesToKeep = [...placesToKeep]
theData = theData.filter(x=>placesToKeep.includes(x["Country/Region"]))
theData = NYT2array(theData)
return await theData
}
*/
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// combinedBigCountyData = await addCalculatedStats(BigCountyArray)
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

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