Context


Visualized GDP (gross domestic product) and LEABY (life expectancy at birth in years) data for different countries over time. Followed instructions for a capstone data visualization project for codecademy course, code and analyses are my own.

Visualizations and Analyses


https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f8fcc442-888c-46b8-b42d-3ea118901034/violinplots.png

<aside> 💡 Analysis nothing signficantly changed, however it was interesting to see Zimbabwe's widespread distribution in terms of life expectancy at birth in years. in that sense, zimbabwe's life expectancy "changed" the most... it's now clear that there's residents of the country with both small and high LEABY values. this is unlike the other countries with much less widespread distributions.

</aside>

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ba1491ca-3239-4b16-ba08-19258ecadf1f/facetgrid.png

<aside> 💡 Data Analysis china moves across the x-axis (GDP) the most over the years. zimbabwe moves across the y-axis (LEABY) the most over the years. this isn't very surprising due to the visualations above. overall, what's demonstrated is that china has improved its GDP from 2000-2015 and Zimbabwe has improved its LEABY within the same timeframe. these scatter plots aren't too difficult to read in themselves, but making comparisons against each other with so many plots can be tedious.

</aside>

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/a36b050c-8333-4a3f-bb9a-3087a9c3fbcd/facetgrid3.png

<aside> 💡 Analysis in 2015, USA had the highest GDP and Zimbabwe had the lowest. in 2015, Germany had the highest life expectancy and Zimbabwe had the lowest.

</aside>

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c8989768-da47-42e8-b368-805f954ab0cd/facetgrid2.png

<aside> 💡 Analysis Zimbabwe's line changes the most, indicating the most change in LEABY (life expectancy at birth (years)) over time. From my perception, it seems like 2010 had lots of change compared to previous years, with 2002 having the least. These causes of change in life expectancy could be due to increased or decreased famine, war, or public health system strength. Other countries, from my knowledge, are economically stronger and have more developed health systems which could be the reason for less dramatic change in LEABY over time.

</aside>

Code


https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d1516842-9777-4f3c-9e2e-1bee3debe998/life_expectancy_gdp.html.pdf