Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -245,7 +245,7 @@ The interactive scatterplot compares child mortality to daily income for 24 coun
|
|
| 245 |
The x-axis represents daily income (USD) on a logarithmic scale, and the y-axis shows child mortality (per 1,000).
|
| 246 |
Each country is color-coded, and hover tooltips display details for each data point.
|
| 247 |
Our analysis reveals that in earlier years (e.g., 1800), countries have tightly clustered mortality and income.
|
| 248 |
-
By 2024, a negative correlation emerges, showing that as
|
| 249 |
""")
|
| 250 |
yeyear = st.slider("Year for Income vs. Mortality", min_value=1800, max_value=2024, value=2024)
|
| 251 |
filtered_yay = yay[yay["year"] == yeyear]
|
|
|
|
| 245 |
The x-axis represents daily income (USD) on a logarithmic scale, and the y-axis shows child mortality (per 1,000).
|
| 246 |
Each country is color-coded, and hover tooltips display details for each data point.
|
| 247 |
Our analysis reveals that in earlier years (e.g., 1800), countries have tightly clustered mortality and income.
|
| 248 |
+
By 2024, a negative correlation emerges, showing that as daily income increases, child mortality decreases.
|
| 249 |
""")
|
| 250 |
yeyear = st.slider("Year for Income vs. Mortality", min_value=1800, max_value=2024, value=2024)
|
| 251 |
filtered_yay = yay[yay["year"] == yeyear]
|