Spaces:
Sleeping
Sleeping
Update pages/2_Child Mortality vs Population.py
#8
by
Shah-Miloni - opened
pages/2_Child Mortality vs Population.py
CHANGED
|
@@ -56,7 +56,7 @@ if selected_country:
|
|
| 56 |
# First Layer: Child Mortality
|
| 57 |
alt.Chart(merged_country_data).mark_line(point=True).encode(
|
| 58 |
x=alt.X('year:O', title='Year (Every 20 Years)', axis=alt.Axis(labelAngle=0)),
|
| 59 |
-
y=alt.Y('child_mortality:Q', title='Child Mortality Rate (per 1,000 live births)', axis=alt.Axis(titleColor='
|
| 60 |
tooltip=['year', 'child_mortality']
|
| 61 |
).properties(
|
| 62 |
width=800,
|
|
|
|
| 56 |
# First Layer: Child Mortality
|
| 57 |
alt.Chart(merged_country_data).mark_line(point=True).encode(
|
| 58 |
x=alt.X('year:O', title='Year (Every 20 Years)', axis=alt.Axis(labelAngle=0)),
|
| 59 |
+
y=alt.Y('child_mortality:Q', title='Child Mortality Rate (per 1,000 live births)', axis=alt.Axis(titleColor='blue')),
|
| 60 |
tooltip=['year', 'child_mortality']
|
| 61 |
).properties(
|
| 62 |
width=800,
|