Charts Lab: Global Life Expectancy & Health Outcomes

A data visualization exercise exploring how income, healthcare, and clean water relate to how long people live.

The Dataset

I chose a health and economics dataset covering 10 countries from different regions and income levels. The five variables are: life expectancy at birth, GDP per capita (USD), healthcare spending as a percent of GDP, infant mortality rate (per 1,000 live births), and share of population with access to clean water. Data is from WHO and World Bank estimates for 2022.

Country Region Life Expectancy (yrs) GDP per Capita (USD) Health Spend (% GDP) Infant Mortality (per 1k) Clean Water Access (%)
JapanEast Asia84.333,81511.11.899.9
SwedenEurope82.855,39511.02.199.8
GermanyEurope80.648,71712.83.1100.0
United StatesNorth America76.476,33016.95.499.2
ChinaEast Asia78.212,7205.45.695.0
BrazilSouth America73.88,9179.913.687.6
MexicoNorth America70.210,0465.511.296.4
IndiaSouth Asia67.22,3893.026.689.9
EthiopiaSub-Saharan Africa66.09253.437.442.7
NigeriaSub-Saharan Africa53.62,0653.955.560.1

Sources: WHO Global Health Observatory, World Bank Development Indicators, UNICEF JMP (2022 estimates)

Chart 1: Life Expectancy by Country

This bar chart ranks all 10 countries by life expectancy so you can easily compare them side by side.

Analysis: There is almost a 31-year gap between the longest-lived country (Japan at 84.3 years) and the shortest (Nigeria at 53.6 years). The chart makes it easy to see that European and East Asian countries cluster at the top, while Sub-Saharan African countries are at the bottom. One interesting thing is that the U.S. ranks lower than several countries with much less wealth — that gap is worth investigating further. A bar chart works well here because you're comparing a single value across categories, and ranking them makes the differences immediately obvious.

Chart 2: GDP per Capita vs. Life Expectancy

This scatter plot looks at whether wealthier countries simply live longer. Each dot is one country, labeled on the chart.

Analysis: There is a general trend — richer countries do tend to live longer — but the relationship isn't as clean as you might expect. The biggest outlier is the United States, which has by far the highest GDP per capita ($76,330) but only ranks 4th in life expectancy. Meanwhile Japan achieves the best life expectancy at a much lower income level. This scatter plot is effective because it shows the relationship between two variables at once, and outliers like the U.S. stand out immediately. The argument here is that wealth alone doesn't determine longevity.

Chart 3: Clean Water Access vs. Infant Mortality

This grouped bar chart compares two public health indicators across all countries, ordered from lowest to highest life expectancy (left to right).

Analysis: This chart makes the strongest case in the whole dataset. As you move from left to right (shorter to longer-lived countries), clean water access rises while infant mortality drops. Nigeria has just 60% clean water access and 55.5 infant deaths per 1,000 births. Japan has 99.9% water access and only 1.8 infant deaths. The pattern suggests that basic infrastructure — not just wealth or healthcare spending — is one of the most important factors in how long a population lives. A grouped bar chart works well here because it lets you compare both variables for each country at the same time.