Public
Edited
Apr 13, 2023
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
covidTotales[1].dosis2pob/1e6
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
xy5ta = ({
...Plot.stackY({ y: popest, order: order }),
x: "dosis5pob"
})
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

Insert cell
Insert cell
Insert cell
poblacion02 = d3.sum(Object.values(covid.filter(d=>provincia?d.pcia==provincia:1)), d=>d.pob) - d3.sum(vacunasEdadesLoadedNewZipped.filter(d=>provincia?d[0]==provincia:1),d=>d[6])
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
vacunasEdadesLoadedNewZippedGrouped=d3.group(vacunasEdadesLoadedNewZipped.filter(d=>provincia?d[0]==provincia:1),d=>d[1])
Insert cell
provincias = d3.groups(vacunasEdadesLoadedNewZipped, d=>d[0]).map(d=>d[0])
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