Published
Edited
Oct 10, 2020
4 forks
Importers
92 stars
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
{
//mutable referenceDate = "2020-06-12"
}
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
mutable referenceDate = dataDate
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

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
dataSinceBaseLine.filter(d => d.location =="Cñplohilev2")
Insert cell
Insert cell
Insert cell
dataGroupedByCountry.filter(d => d.location=="Uruguay")
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
data.filter(d => d.location=="Chile")
Insert cell
_.last(data.filter(d => d.location=="Chile v2"))
Insert cell
DOM.download(new Blob([d3.tsvFormat(data), {type: "text/tsv"}]), "data_covid_world.tsv")
Insert cell
Insert cell
data_.filter(d=> d.location =="ChileV2")
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
dataChileV2 = {
const data = dataChile_MinCiencia.map(d => {
const record = _.cloneDeep(d);
record.location = `${record.location} v2`
record.total_deaths = dataFallecidosChile[record.date];
return record;
})
return data;
}

Insert cell
dataChile = dataChile_MinCiencia
//dataChile = dataChile_MinCienciaMenos553
Insert cell
Insert cell
Insert cell
dataChileV3 = {
const data = dataChile_MinCienciaMenos553.map(d => {
const record = _.cloneDeep(d);
record.location = `${record.location} v3`
return record;
})
return data;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
//d3.csv("https://chilecracia.org/826acc1f-03bc-4e75-b724-41f0e8e25ea4")
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