Spaces:
Sleeping
Sleeping
Update pages/income.py
Browse files- pages/income.py +1 -2
pages/income.py
CHANGED
|
@@ -37,5 +37,4 @@ scatter_plot = alt.Chart(filtered_yer).mark_circle(size=60).encode(
|
|
| 37 |
|
| 38 |
st.altair_chart(scatter_plot, use_container_width=True)
|
| 39 |
|
| 40 |
-
st.text("In Streamlit, we create an interactive slider that allows the user to choose a year where the earliest year is 1800 and the maximum year is 2024. In Altair, we create a scatter plot where the x-axis is represented by daily income (USD) set to a logarithmic scale for better visualization for 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.
|
| 41 |
-
")
|
|
|
|
| 37 |
|
| 38 |
st.altair_chart(scatter_plot, use_container_width=True)
|
| 39 |
|
| 40 |
+
st.text("In Streamlit, we create an interactive slider that allows the user to choose a year where the earliest year is 1800 and the maximum year is 2024. In Altair, we create a scatter plot where the x-axis is represented by daily income (USD) set to a logarithmic scale for better visualization for 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.")
|
|
|