-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.qmd
More file actions
627 lines (516 loc) · 26 KB
/
index.qmd
File metadata and controls
627 lines (516 loc) · 26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
---
title: "**GAPMINDER | Global Child Mortality**"
subtitle: "An association with Sustainable Development and Food Security Index (1990-2020)"
author: "Author: Luong Nguyen Thanh"
format:
dashboard:
theme: styles.scss
execute:
echo: false
bibliography: references.bib
---
https://github.com/quarto-dev/quarto/pull/698
```{r}
#| eval: false
# | label: Virtual environment setting
pacman::p_load(reticulate, tidyverse, tidytext)
use_virtualenv("../.venv", required = TRUE)
```
```{python}
# | layout-ncol: 2
# | eval: true
# | output: false
# | label: Import package and data
import pandas as pd
import numpy as np
import plotly.express as px
import plotly.graph_objects as go
from plotly.subplots import make_subplots
import country_converter as coco
from great_tables import GT, html
import matplotlib.pyplot as plt
# Load the data
sdi_raw = pd.read_csv("data/sdi.csv")
cmi_raw = pd.read_csv("data/child_mortality.csv")
fsi_raw = pd.read_csv("data/food_supply.csv")
pop_raw = pd.read_csv("data/population.csv")
```
Here is a footnote reference,[^1] and another.[^2]
[^1]: Here is the footnote.
[^2]: Here's one with multiple blocks.
Subsequent paragraphs are indented to show that they belong to the previous footnote.
```
{ some.code }
```
The whole paragraph can be indented, or just the first line. In this way, multi-paragraph footnotes work like multi-paragraph list items.
This paragraph won't be part of the note, because it isn't indented.
[^3]
[^3]: I am a footnote
::: {.class}
:::
should be matched, similiarly to HTML tag, https://github.com/jzmstrjp/vscode-color-the-tag-name
::: {.columns}
::: {.column width=50%}
:::
::: {.column width=50%}
:::
:::
```{python}
# | eval: true
# | output: false
# | label: Subset and clean data
# Query data according to timeframe
def subset_data(df: pd.DataFrame, index: str) -> pd.DataFrame:
df = (
df.melt(id_vars=["country"], var_name="year", value_name=index)
.assign(year=lambda x: pd.to_numeric(x["year"], errors="coerce"))
.sort_values(by=["country", "year"])
.query("year >= 1990 & year <= 2020")
)
return df
sdi = subset_data(sdi_raw, "sdi")
cmi = subset_data(cmi_raw, "cmi")
fsi = subset_data(fsi_raw, "fsi")
pop = subset_data(pop_raw, "pop")
final_data = pd.merge(sdi, cmi).merge(fsi).merge(pop)
# Add country classification according to region and income level
final_data = final_data.assign(
pop=lambda df: df["pop"].apply(
lambda x: float(x[:-1]) * 1e9
if x.upper().endswith("B")
else float(x[:-1]) * 1e6
if x.upper().endswith("M")
else float(x[:-1]) * 1e3
if x.upper().endswith("K")
else float(x)
),
iso3=lambda df: coco.convert(
names=df["country"].replace({"UAE": "United Arab Emirates"}), to="ISO3"
),
region=lambda df: coco.convert(
names=df["country"].replace({"UAE": "United Arab Emirates"}), to="continent"
),
food_supply_status=lambda df: np.select(
condlist=[(df["fsi"] >= 1500) & (df["fsi"] <= 3000)],
choicelist=["Meets basic needs"],
default="Does not meet basic needs",
),
)
del cmi_raw, sdi_raw, fsi_raw, pop_raw
```
```{python}
class PromptDesigner:
def __init__(self):
# Store different parts of the prompt as class attributes
self.persona_task_description = """
You are an epidemiologist tasked with identifying sentences or phrases from outbreak reports that describe the drivers or contributors to the emergence or transmission of emerging pests and pathogens.
"""
self.domain_localization = """
Here is the definition of DPSIR (Drivers, Pressure, State, Impacts, and Responses) framework, where it shows how drivers are associated with the emergence of disease.
Drivers: underlying socio-economic, environmental, or ecological forces that create conditions favourable for how a disease emerges, spreads or sustains transmission in human, animals or plants.
Pressure: human anthropogenic activities that are mainly responsible for the chances of spillover events and the transmission of pests and pathogens.
State: the current circulation of pests and pathogens, represented as either new case detected, an endemic, an epidemic or a pandemic.
Impacts: the effects caused by pests and pathogens on individuals, communities' socio-economic, and political.
Responses: the actions and interventions taken by governments to manage the occurrence of drivers and pressures, and to control the spread of pests and pathogens and to mitigate the impacts.
"""
self.causality_definition = """
Causality definition: In the reports, causality can take two forms. The first form is "Intra-sentence causality", where the “cause” and the “effect” lie in a single sentence, while in "Inter-sentence causality", the “cause” and the “effect” lie in different sentences.
"""
self.extraction_guide = """
Input text: The sudden appearance of unlinked cases of mpox in South Africa without a history of international travel, the high HIV prevalence among confirmed cases, and the high case fatality ratio suggest that community transmission is underway, and the cases detected to date represent a small proportion of all mpox cases that might be occurring in the community; it is unknown how long the virus may have been circulating. This may in part be due to the lack of early clinical recognition of an infection with which South Africa previously gained little experience during the ongoing global outbreak, potential pauci-symptomatic manifestation of the disease, or delays in care-seeking behaviour due to limited access to care or fear of stigma.
Expected output
1. Raw text with marked causes and effects
The sudden appearance of unlinked cases of mpox in South Africa without a history of international travel, the high HIV prevalence among confirmed cases, and the high case fatality ratio suggest that (E1) community transmission (E1) is underway, and the cases detected to date represent a small proportion of all mpox cases that might be occurring in the community; it is unknown how long the virus may have been circulating. This may in part be due to the (C1) lack of early clinical recognition of an infection (C1) with which South Africa previously gained little experience during the ongoing global outbreak, potential (C1) pauci-symptomatic manifestation of the disease (C1), or (C1, E2) delays in care-seeking behavior (C1, E2) due to (C2) limited access to care (C2) or (C2) fear of stigma (C2).
2. Extracted causes and effects
C1: lack of early clinical recognition of an infection -> E1: community transmission
C1: pauci-symptomatic manifestation of the disease -> E1: community transmission
C1: delays in care-seeking behavior -> E1: community transmission
C2: limited access to care -> E2: delays in care-seeking behaviour
C2: fear of stigma -> E2: delays in care-seeking behaviour delays in care-seeking behaviour
"""
self.few_shot_examples = """
Below are some examples how causality can be reported in different forms:
- Single cause, single effect (Type 1)
Example 1: (C1) High population density and mobility in urban areas (C1) have facilitated (E1) the rapid spread of the virus (E1)".
Example 2: There is (C1) no vaccine for Influenza A(H1N1)v infection currently licensed for use in humans (C1). Seasonal influenza vaccines against human influenza viruses are generally not expected to protect people from (E1) infection with influenza viruses (E1) that normally circulate in pigs, but they can reduce severity.
- Single cause, multiple effects (Type 2)
Example 3: Several countries including Cameroon, Ethiopia, Haiti, Lebanon, Nigeria (north-east of the country), Pakistan, Somalia, Syria and the Democratic Republic of Congo (eastern part of the country) are in the midst of complex (C1) humanitarian crises (C1) with (E1) fragile health systems (E1), (E1) inadequate access to clean water and sanitation (E1) and have (E1) insufficient capacity to respond to the outbreaks (E1)
- Multiple causes, single effect (Type 3)
Example 4: Moreover, (C1) a low index of suspicion (C1), (C1) socio-cultural norms (C1), (C1) community resistance (C1), (C1) limited community knowledge regarding anthrax transmission (C1), (C1) high levels of poverty (C1) and (C1) food insecurity (C1), (C1) a shortage of available vaccines and laboratory reagents (C1), (C1) inadequate carcass disposal (C1) and (C1) decontamination practices (C1) significantly contribute to hampering (E1) the containment of the anthrax outbreak (E1).
Example 5:
The (E1) risk at the national level (E1) is assessed as 'High' due to the following:
+ In other parts of Timor-Leste (C1) health workers have limited knowledge dog bite and scratch case management (C1) including PEP and RIG administration
+ (C2) Insufficient stock of human rabies vaccines (C2) in the government health facilities.
- Multiple causes, multiple effects (Type 4) - Chain of causalities
The text may describe a chain of causality, where one effect becomes then the cause of another effect. To describe the chain, you should number the causes and effects. For example, cause 1 (C1) -> effect 1 (E1), but since effect 1 is also cause of effect 2, you should do cause 1 (C1) -> effect 1 (E1, C2) -> effect 2 (E2).
Example 6: (E2) The risk of insufficient control capacities (E2) is considered high in Zambia due to (C1) concurrent public health emergencies in the country (cholera, measles, COVID-19) (C1) that limit the country’s human and (E1, C2) financial capacities to respond to the current anthrax outbreak adequately (E1, C2).
Example 7: (C1) Surveillance systems specifically targeting endemic transmission of chikungunya or Zika are weak or non-existent (C1) -> (E1, C2) Misdiagnosis between diseases & Skewed surveillance (E1, C2) -> (E2, C3) Misinform policy decisions (E2, C3) -> (E3)reduced accuracy on the estimation of the true burden of each diseases (E3), poor risk assessments (E3), and non optimal clinical management and resource allocation (E3).
Example 8: (C1) Changes in the predominant circulating serotype (C1) -> (E1, C2) increase the population risk of subsequent exposure to a heterologous DENV serotype (E1, C2), -> (E2) which increases the risk of higher rates of severe dengue and deaths (E2).
"""
self.negative_cases = """
Irrelevant causality (negative cases): Some sentences contain causal relationships, but the effect may not be related to the disease transmission or emergence. Avoid classifying those causal relationships.
Example 1 (no causality): Because these viruses continue to be detected in swine populations worldwide, further human cases following direct or indirect contact with infected swine can be expected.
Example 2 (no relevant causality): There is some (E1) pressure on the healthcare capacity (E1) due to the (C1) very high number of admissions for dengue (C1); (C1) high vector density (C1); and an (C1) anticipated prolonged monsoon (C1).
Example 3 (no relevant causality): (C1) MVD is a highly virulent disease (C1) that can cause (E1) haemorrhagic fever (E1) and is clinically similar to Ebola virus disease.
"""
self.mechanism_of_causality = """
When the text describes/list possible mechanisms behind the cause of transmission or emergence, tag them with (M). A mechanism of causality describes the specific interactions between the pathogen, host, and environment that causes the transmission / emergence. They often describe interactions at the physiological level.
Example 1: The global outbreak 2022 — 2024 has shown that (C1) sexual contact (C1) enables faster and more efficient (E1) spread of the virus (E1) from one person to another due to (M1) direct contact of mucous membranes between people (M1), (M1) contact with multiple partners (M1), (M1) a possibly shorter incubation period on average (M1), and (M1) a longer infectious period for immunocompromised individuals (M1).
"""
self.sign_of_causality = """
For each cause-effect relationship, indicate whether each cause (C) is positive (C+) or negative (C-) and each effect (E) is positive (E+) or negative (E-).
Use the list of positive and negative sign words provided to help determine the sign of each cause and effect. Be mindful of sentences with negations (e.g., “does not improve”), which reverses polarity.
Positive sign words: increase, facilitate, support, improve, expand, promote, enable, enhance, accelerate, advance, grow, boost, strengthen, benefit, contribute, progress, initiate, develop, elevate, stimulate, alleviate, optimize, revitalize.
Negative sign words: limit, decrease, reduce, hamper, hinder, restrict, suppress, impair, inhibit, undermine, challenge, disrupt, lack, insufficient, incomplete, challenge, deficit, obstacle, barrier, diminish, shortage, scarcity, obstruct, worsen, decline.
Example 1: “(C1-) a lack of timely access to diagnostics in many areas (C1-), (C1-) incomplete epidemiological investigations (C1-), (C1-) challenges in contact tracing and extensive but inconclusive animal investigations (C1-) continue to hamper rapid response (E1-)”
Example 2: Moreover, (C1-) a low index of suspicion (C1-), (C1) socio-cultural norms (C1), (C1) community resistance (C1), (C1-) limited community knowledge regarding anthrax transmission (C1-), (C1+) high levels of poverty (C1+) and (C1) food insecurity (C1), (C1-) a shortage of available vaccines and laboratory reagents (C1-), (C1-) inadequate carcass disposal (C1-) and (C1) decontamination practices (C1) significantly contribute to hampering (E1-) the containment of the anthrax outbreak (E1-).
"""
def generate_prompt(
self,
include_persona=False,
include_domain=False,
include_causality=False,
include_guidance=False,
include_examples=False,
include_negative=False,
include_mechanism=False,
include_sign=False,
):
"""
Dynamically generate a prompt based on the specified parts.
"""
# Start with an empty prompt
prompt = ""
# Append parts based on the arguments provided
if include_persona:
prompt += self.persona_task_description + "\n"
if include_domain:
prompt += self.domain_localization + "\n"
if include_causality:
prompt += self.causality_definition + "\n"
if include_guidance:
prompt += self.extraction_guide + "\n"
if include_examples:
prompt += self.few_shot_examples + "\n"
if include_negative:
prompt += self.negative_cases + "\n"
if include_mechanism:
prompt += self.mechanism_of_causality + "\n"
if include_sign:
prompt += self.sign_of_causality + "\n"
return prompt
```
```{python}
# | eval: true
# | output: false
# | label: World interactive plot
sdi_map = px.choropleth(
final_data,
locations="iso3",
color="sdi",
animation_frame="year",
hover_name="country",
color_continuous_scale="Blues",
).update_layout(
coloraxis_showscale=True,
coloraxis=dict(
colorbar=dict(
title=dict(
text="Sustainable Development Index",
font=dict(size=12),
side="right",
),
thickness=15,
len=0.7,
x=1.02,
y=0.5,
tickfont=dict(size=9),
)
),
geo=dict(
projection_scale=1,
visible=True,
showland=True,
landcolor="lightgray",
showcountries=True,
countrycolor="gray",
),
sliders=[
dict(
currentvalue=dict(
prefix="Year: ", visible=True, xanchor="right", font=dict(size=12)
),
pad=dict(b=10, t=50),
len=0.9,
x=0.1,
y=0.02,
)
],
)
fsi_map = px.choropleth(
final_data,
locations="iso3",
color="fsi",
animation_frame="year",
hover_name="country",
color_continuous_scale="Reds",
).update_layout(
coloraxis_showscale=True,
coloraxis=dict(
colorbar=dict(
title=dict(
text="Food Security Index",
font=dict(size=12),
side="right",
),
thickness=15,
len=0.7,
x=1.02,
y=0.5,
tickfont=dict(size=9),
)
),
geo=dict(
projection_scale=1,
visible=True,
showland=True,
landcolor="lightgray",
showcountries=True,
countrycolor="gray",
),
sliders=[
dict(
currentvalue=dict(
prefix="Year: ", visible=True, xanchor="right", font=dict(size=12)
),
pad=dict(b=10, t=50),
len=0.9,
x=0.1,
y=0.02,
)
],
)
cmi_map = px.choropleth(
final_data,
locations="iso3",
color="cmi",
animation_frame="year",
hover_name="country",
color_continuous_scale="Greens",
).update_layout(
coloraxis_showscale=True,
coloraxis=dict(
colorbar=dict(
title=dict(
text="Child Mortality Index",
font=dict(size=12),
side="right",
),
thickness=15,
len=0.7,
x=1.02,
y=0.5,
tickfont=dict(size=9),
)
),
geo=dict(
projection_scale=1,
visible=True,
showland=True,
landcolor="lightgray",
showcountries=True,
countrycolor="gray",
),
sliders=[
dict(
currentvalue=dict(
prefix="Year: ", visible=True, xanchor="right", font=dict(size=12)
),
pad=dict(b=10, t=50),
len=0.9,
x=0.1,
y=0.02,
)
],
)
```
```{python}
# | eval: true
# | output: false
# | label: Time series plot
# Aggregate average indicator values per year
yearly_data = final_data.groupby("year")[["sdi", "fsi", "cmi"]].mean().reset_index()
# Normalize each indicator to the range [0, 1]
cols_to_normalize = ["sdi", "fsi", "cmi"]
for col in cols_to_normalize:
yearly_data[col] = (yearly_data[col] - yearly_data[col].min()) / (
yearly_data[col].max() - yearly_data[col].min()
)
# Create the time series plot using the normalized data
time_series_plot = px.line(
yearly_data,
x="year",
y=["sdi", "fsi", "cmi"],
labels={
"value": "Normalized Average Value",
"year": "Year",
"variable": "Indicator",
},
)
final_data_filtered = final_data.dropna(subset=["fsi"])
animated_scatter = px.scatter(
final_data_filtered,
x="sdi",
y="cmi",
animation_frame="year",
color="region",
size="fsi",
size_max=10,
hover_name="country",
labels={
"sdi": "Sustainable Development Index",
"cmi": "Child Mortality (per 1000 live births)",
},
)
```
```{r}
#| output: false
#| label: Heatmap child mortality
as.factor()
extrafont::loadfonts(device = "win")
library(shiny)
final_data <- py$final_data
# Create a dataset for all regions (do not filter by region here so that all regions are included)
final_data_subset <- final_data %>%
select(country, year, cmi, region)
# For each country, extract the CMI value for the year 1990 as the baseline ordering value
baseline <- final_data_subset %>%
filter(year == 1990) %>%
select(country, region, cmi) %>%
rename(cmi_1990 = cmi)
# Join the baseline data back into the full dataset and ensure country is atomic
final_data_facet <- final_data_subset %>%
left_join(baseline, by = c("country", "region")) %>%
mutate(country = as.character(country)) # Ensure country is atomic
# Define the color palette
cols <- c(
colorRampPalette(c(
"#e7f0fa",
"#c9e2f6",
"#95cbee",
"#0099dc",
"#4ab04a",
"#ffd73e",
"#eec73a",
"#e29421"
))(20),
colorRampPalette(c("#e29421", "#f05336", "#ce472e"))(80)
)
# Plot with faceting by region and countries ordered within each facet based on 1990 CMI (highest first)
ggplot(
final_data_facet,
aes(x = year, y = reorder_within(country, -cmi_1990, region), fill = cmi)
) +
geom_tile(colour = "white", linewidth = 0.5, width = 0.9, height = 0.9) +
facet_wrap(~region, scales = "free_y") +
scale_y_reordered() +
theme_minimal() +
scale_fill_gradientn(
colours = cols,
limits = c(0, 400), # Adjust based on your actual data range
breaks = seq(0, 400, by = 100),
labels = c("0", "100", "200", "300", "400"),
na.value = rgb(246 / 255, 246 / 255, 246 / 255),
guide = guide_colourbar(
ticks = TRUE,
nbin = 50,
barheight = 0.5,
label = TRUE,
barwidth = 10,
title = "Child Mortality (per 1,000 births)",
title.position = "top",
title.hjust = 0.5
)
) +
scale_x_continuous(
expand = c(0, 0),
breaks = seq(1990, 2018, by = 5),
limits = c(1990, 2018)
) +
theme(
legend.position = c(0.5, -0.13),
legend.direction = "horizontal",
legend.text = element_text(colour = "grey20", size = 5),
legend.title = element_text(colour = "grey20", size = 5, face = "bold"),
strip.text.x = element_text(size = 5),
plot.margin = unit(c(0.5, 0.5, 1.5, 0.5), "cm"),
axis.text.y = element_text(size = 3, hjust = 1),
axis.text.x = element_text(size = 5),
axis.ticks.y = element_blank(),
panel.grid = element_blank(),
plot.title = element_text(
hjust = 0.5,
face = "bold",
vjust = 1,
size = 7
)
) +
labs(
title = "Child Mortality by Region (1990–2020)",
x = NULL,
y = NULL
)
ggsave("outputs/heatmap.svg")
```
```{python}
#| label: Calculating statistics
# SDI Growth
df_1990 = final_data[final_data["year"] == 1990]
df_2018 = final_data[final_data["year"] == 2018]
sdi_change = df_2018[["country", "sdi"]].merge(df_1990[["country", "sdi"]], on="country", suffixes=("_2018", "_1990"))
sdi_change["sdi_change_pct"] = ((sdi_change["sdi_2018"] - sdi_change["sdi_1990"]) / sdi_change["sdi_1990"]) * 100
```
# Overview
## Row 1 {height="20%"}
### Data Source
This dashboard presents an analysis of global child mortality and the association with food security and sustainable development index from 1990 to 2020, focusing on three key metrics:
1. **The Sustainable Development Index**: is an efficiency metric, designed to assess the ecological efficiency of nations in delivering human development. It is calculated as the quotient of two figures: (1) a “development index” based on the Human Development Index, calculated as the geometric mean of the life expectancy index, the education index, and a modified income index; and (2) an “ecological impact index” calculated as the extent to which consumption-based CO2 emissions and material footprint exceed per-capita shares of planetary boundaries.
2. **Child mortality (0-5 year-olds dying per 1000 born)**: Death of children under five years of age per 1,000 live births
3. **Food supply (kilocalories / person & day)**: Calories measures the energy content of the food. The required intake varies, but it is normally in the range of 1500-3000 kilocalories per day. One banana contains approximatly 100 kilocalories.
The data is sourced from Gapminder's global development indicators database, which compiles information from various international organizations including WHO, World Bank, and UN agencies.
The dashboard is designed to **highlight**: - Global trends difference in Child mortality - Global trends difference in The Sustainable Development Index - Global trends difference in The Food supply index - The association among indicators
## Row 2 {height="40%"}
```{python}
# | title: Global trend of Sustainable Development Index (1990-2020)
sdi_map
```
```{python}
# | title: Global trend of Food Security Index (1990-2020)
fsi_map
```
```{python}
# | title: Global trend of Child Mortality (1990-2020)
cmi_map
```
## Row 3 {height="40%"}
```{python}
# | title: Relationship between SDI and Child Mortality Over Time (sized by Food Supply)
animated_scatter
```
```{python}
# |title: Normalized Average Indicator Trends (1990-2020)
time_series_plot
```
### Key Insights
**Key Insights**
1. **Global Child Mortality (cmi) (1990–2020)**:
- Marked Decline: Global child mortality rates have dropped significantly
- In endline (2020): Some African nations still exhibit relatively high cmi, underscoring the need for continued investment in maternal and child health
2. **Global Sustainable Development Index (SDI) (1990–2020)**:
- Overall Improvement: Many countries have gradually improved their SDI, indicating better human development outcomes achieved with fewer ecological impacts.
- Regional Variations: Developed regions typically rank higher, while some developing nations show a steady but slower rise, reflecting uneven global progress.
3. **Global Food Security Index (FSI) (1990–2020)**:
- Increasing Caloric Availability: Most regions show a general increase in FSI, indicating that food supply per capita has improved worldwide.
- Persistent Gaps: Despite overall progress, certain areas still face undernourishment challenges.
# Child Mortality by Region
