Published
Edited
May 22, 2020
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
{
return d3.timeFormat("%e%b%y")(TS[0])
}
Insert cell
mutable ConfirmedTS = []
Insert cell
Insert cell
viewof DeleteArray = {
mutable ConfirmedTS.splice(1)
}
Insert cell
Province.length
Insert cell
Insert cell
mutable RecoveredTS = []
Insert cell
Insert cell
mutable DeathTS = []
Insert cell
Insert cell
ParseDate = dt.timeParse("%d %B %Y")
Insert cell
DateNow = ParseDate(DateAsOf.slice(11))
Insert cell
md`## Library`
Insert cell
axios = require("https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js");
Insert cell
cheerio = require('https://bundle.run/cheerio@1.0.0-rc.3')
Insert cell
d3 = require("d3@5")
Insert cell
dt = require("d3-time-format")
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