Spaces:
Sleeping
Sleeping
Update pages/Child Mortality vs Population.py
Browse files
pages/Child Mortality vs Population.py
CHANGED
|
@@ -3,8 +3,8 @@ import pandas as pd
|
|
| 3 |
import altair as alt
|
| 4 |
|
| 5 |
# Load data
|
| 6 |
-
child_mortality_path = "child_mortality_0_5_year_olds_dying_per_1000_born.csv"
|
| 7 |
-
population_path = "pop.csv"
|
| 8 |
|
| 9 |
child_mortality = pd.read_csv(child_mortality_path)
|
| 10 |
population = pd.read_csv(population_path)
|
|
|
|
| 3 |
import altair as alt
|
| 4 |
|
| 5 |
# Load data
|
| 6 |
+
child_mortality_path = pd.read_csv("https://huggingface.co/spaces/jiyachachan/fp2/resolve/main/child_mortality_0_5_year_olds_dying_per_1000_born.csv") # Format: Country, Year, Value
|
| 7 |
+
population_path = pd.read_csv("https://huggingface.co/spaces/jiyachachan/fp2/resolve/main/pop.csv")
|
| 8 |
|
| 9 |
child_mortality = pd.read_csv(child_mortality_path)
|
| 10 |
population = pd.read_csv(population_path)
|