Public
Edited
Jul 1, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
pop_projections = {
let pop_projections = await FileAttachment("pop_projections.csv").csv({
typed: true
});
pop_projections = d3
.groups(pop_projections, (o) => o.tfr_scenario)
.map((a) => a[1]);
return pop_projections;
}
Insert cell
pop_history = {
let pop_history = await FileAttachment("population_history.csv").csv({
typed: true
});
pop_history = pop_history.filter((o) => o.population).slice(9);
return pop_history;
}
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