Public
Edited
Jan 24, 2024
1 star
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
Insert cell
Insert cell
Insert cell
totals_le_birth
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
slope_chart_data
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
le_birth_per_country
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
le_birth_per_country
SELECT country, avg_le_birth, avg_hale_birth, avg_le_birth - avg_hale_birth as avg_no_full_health, round(100*((avg_le_birth - avg_hale_birth)/avg_le_birth),1) as rate_life_no_full_health, case when country = ${country_select} then 'select'
when country = ${country_select_compare} then 'compare' else 'other' end as color FROM "le_birth_per_country"
Insert cell
Insert cell
Insert cell
Insert cell
dot_DB = DuckDBClient.of({select: selected_country, compare: selected_country_compare, other: dot_country})
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