Spaces:
Sleeping
Sleeping
Update pages/Child Mortality vs Daily Income.py
Browse files
pages/Child Mortality vs Daily Income.py
CHANGED
|
@@ -34,4 +34,5 @@ scatter_plot = alt.Chart(filtered_yer).mark_circle(size=60).encode(
|
|
| 34 |
|
| 35 |
st.altair_chart(scatter_plot, use_container_width=True)
|
| 36 |
|
| 37 |
-
st.text("The interactive scatterplot above displays Child Mortality versus Daily Income from 24 countries. The interactive slider allows the user to choose a year where the earliest year is 1800 and the maximum year is 2024. The x-axis is represented by daily income (USD) set to a logarithmic scale for better visualization of larger income ranges, and the y-axis is represented by child mortality (per 1,000). Each country is assigned a unique color and we incorporate a hover tooltip to show the country, year, income, and mortality rate for a specific data point.")
|
|
|
|
|
|
| 34 |
|
| 35 |
st.altair_chart(scatter_plot, use_container_width=True)
|
| 36 |
|
| 37 |
+
st.text("The interactive scatterplot above displays Child Mortality versus Daily Income from 24 countries. The interactive slider allows the user to choose a year where the earliest year is 1800 and the maximum year is 2024. The x-axis is represented by daily income (USD) set to a logarithmic scale for better visualization of larger income ranges, and the y-axis is represented by child mortality (per 1,000). Each country is assigned a unique color and we incorporate a hover tooltip to show the country, year, income, and mortality rate for a specific data point. ")
|
| 38 |
+
st.text("Our analysis of the scatterplot shows that over time, countries diversify in child income and daily income, where in earlier years such as 1800 show tightly clustered mortality and daily income and as decades progress, our result in 2024 is a negatively correlated relationship between child mortality and daily income. The observed trend shows that as child mortality increases, daily income decreases.")
|