Life Expectancy - Human Development Data

This document provides an analysis of Life Expectancy and Human Development Data by country.

Data sources used:

Sample Data Table.
Country Continent Year HDI Life_Expectancy Population
Albania Europe 1990 0.645 71.84 3286542
Algeria Africa 1990 0.577 66.72 25912367
Argentina S.America 1990 0.704 71.56 32729739
Armenia Europe 1990 0.631 67.88 3538165
Australia Oceania 1990 0.866 76.99 17065100

Plotly

For the analysis and plotly visualization, We have used three different variables.

  1. Life Expectancy (y axis)

  2. Human Development Index (HDI) (x axis)

  3. Population (bubble size)

Colour refers to country and bubble size is according to Population size.

Below the graph, we have a “play” button which can be used to play the animated plotly and see the yearly trend.

When we hover over one bubble point, we can see all the information on that specific country.

We can use the legend in the right-hand-side to filter countries within a specific continent.

By default, the graph will show all countries in all continents.

If we click one continent, the font letter from that continent will turn grey which means that all countries within that continent will not display on the graph.

If we double-click one continent, we will only see the countries within that continent.

This is very useful in order to compare yearly trend among different countries.

Code, questions and feedback

The code for this article is publish in my github account.

Please feel free to reach out for any question or feedback.