About the Portfolio Project: Life Expectancy and GDP category

Hello World

Here is my version of Life Expectancy and GDP portfolio project.
Appreciate your feedback.

Happy Coding!

Hi everyone. I am on the Data Scientist: Machine Learning path, and this is my first posting. Here is my attempt at the GDP Life Expectancy portfolio project. It was a great opportunity to practice some of the skills yet at the same time reminding me I still have a lot to learn (and practicing like this is probably the best way to do so!).

1 Like

Hello! Just finished, any feedback would be radical.
Blog post
Github

1 Like

I just finish my project. I really hope you like it. It is mainly in Spanish.

Are you sure about the plots?! im afraid they wont make any sense!

Well dang I thought it was straight forward :face_with_monocle:, do you have a suggestion for making it more clear?

By just taking a quick look at the axis, I can tell that the measurements are not quite right! To see how life expectancy has changed over time, I have used something like this:

plt.figure(figsize=(12,6))
for country in countries:
    df_country = df[df['Country']==country]
    plt.plot(df_country["Year"], df_country["Life expectancy at birth (years)"], marker='o', markersize=3, linewidth=1)
    plt.xlabel("Date")
    plt.ylabel("Life expectancy at birth (years)")
    plt.title(f'Life expectancy over 15 years')
    plt.legend(countries, bbox_to_anchor=(1, 1), loc='upper left')

plt.grid(True)
plt.show()
plt.clf()

I don’t find your project interesting, especially because of the strange similarity between it and the solution to this project provided by Codecademy!

This was really nice and interesting. I liked the way you did it, and the extra part for prediction using linear regression was also nice. good job!

Uh, you might want to look again. Im plotting GDP and LE by date per country on the same plots to show the correlation, your plot only shows the increase of LE at date per country. But thanks anyway.

Oh i see, so you used ax.twinx() to plot them. Did you use GPT for that code cell?

Here is my analysis, anyone could reference it and give me suggestions to improve the analysis. Thanks.

harrybotboy/Life-Expectancy-and-GDP (github.com)

And here is my article about this analysis: How Life Expectancy and GDP Are Related Across Countries

Hi everyone!

I just finished my Data Visualization Portfolio Project on Life expectancy and GDP.

Love to have some feedback on it! :slight_smile:

Here is the github link:

Thank you!
Filipa

My git
My blog post

I’ve always thought creating plots in python was rather tedious but I think this project was a good exercise in matplotlib and seaborn, The provided data was a little uninspiring and it was challenging to think of anything interesting to extract from 15 data points per country. I lost interest before I finished the project and worked on it on and off for a while, so I don’t know how much time I ended up spending on it.

Life Expectancy and GDP article
Github Link
It was a fun experience learning about the relation between GPD and Life Expectancy. It took me around 2 to 3 hours to finish.

Hi Guys ! I just completed the Project . Link is attached below:

Do give me feedback and I will improve my code

Hello everyone,

I have just completed my analysis. If you are interested please have a look and lemme know if something is missing or vague

Thank you