[PYTHON] Factors related to Human well-being by plotly express
Source:This notebook is based on Carlos sensei's notebook (https://deepnote.com/@carlos-mendez/PYTHON-Plotly-Express-3e900d54-8143-405b-8be2-266157d4ec75).
Setup
Import data
Import data from "https://github.com/quarcs-lab/mendez2020-convergence-clubs-code-data"
dataset definitions
select
descriptive statistics
query
Let's query the data for the year 2014.
Let's query the data for the country "Singapore"
isin
Visualize data
Human well being is not only about economic development, but also related to many factors like the degree of education and people' longevity.
Strip plot
Try to create an animated figure to see the development of GDP pc by region
Line plots
Plot the development of GDP pc of countries from different region
Then we focus on the evolution of GDP per capital in China
Compare the evolution of GDP pc of China with some Asian countries.
Now let's study the distribution of year of schooling(level of education) from 1990 to 2014
Box plot
Violin plot
Scatter plots
Regression
Does the change of GDP pc affect the year of schooling?
What is the relation between GDP pc and year of schooling?
Regression by groups
Multivariate
Is there a definite link between population and human well being(evaluated by economy, education and life expectancy)?