Published
Edited
Apr 5, 2022
Importers
3 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
comorbiditiesLastUpdated = "2022-04-05"
Insert cell
Insert cell
Insert cell
boosterLastUpdated = "2022-02-21"
Insert cell
booster = {
let result = [
{REGION: "Flanders", VACCINATED: 153214, TOTAL: 199519},
{REGION: "Wallonia", VACCINATED: 33381, TOTAL: 87672},
{REGION: "Brussels", VACCINATED: 3457, TOTAL: 15781},
{REGION: "Ostbelgien", VACCINATED: 622, TOTAL: 1542},
];
const bel = {
REGION: "Belgium",
VACCINATED: d3.sum(result, d => d.VACCINATED),
TOTAL: d3.sum(result, d => d.TOTAL)
};
result.push(bel);
result.forEach(d => d.RATIO = d.VACCINATED / d.TOTAL);
result.forEach(d => d.LABEL = d3.format(",")(d.VACCINATED) + " of " + d3.format(",")(d.TOTAL));
return result;
}
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
deliveredLastDaysMax = d3.sum(deliveries.filter(d => dates.filter(d => new Date(d) <= new Date(lastUpdated)).slice(-5).includes(d.DATE)), d => d.MAX_DOSES)
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