Plot paired measurements against a y = x diagonal
Back to the Chart galleryxpd charts
Which countries gained the most life expectancy between 1982 and 2007 relative to their starting point?
Plotly Express Gapminder dataset, 12 countries in the Americas comparing 1982 and 2007 life expectancy.
“Paired measurements on identical units belong on a scatter plot with equal axis scales and a diagonal equality line”
Also covered in Wilke 2019 (12 Visualizing Associations Among Two or More Quantitative Variables, p. 129), Wilke 2019 (23 Balance the Data and the Context, p. 287).
Before
Interactive chart unavailable.
After
Interactive chart unavailable.
Values
All 12 countries improved between 1982 and 2007, with Bolivia rising from 53.9 to 65.6 years.
Every country lies well above y = x, with Bolivia (+11.7 years) and Peru (+10.0 years) showing the steepest upward shifts.
| Country | 1982 life expectancy (years) | 2007 life expectancy (years) | Gain (years) |
|---|---|---|---|
| Canada | 75.8 | 80.7 | 4.9 |
| Costa Rica | 73.5 | 78.8 | 5.3 |
| Chile | 70.6 | 78.6 | 8 |
| United States | 74.7 | 78.2 | 3.5 |
| Mexico | 67.4 | 76.2 | 8.8 |
| Argentina | 69.9 | 75.3 | 5.4 |
| Colombia | 66.7 | 72.9 | 6.2 |
| Brazil | 63.3 | 72.4 | 9.1 |
| Peru | 61.4 | 71.4 | 10 |
| Guatemala | 58.1 | 70.3 | 12.2 |
| Bolivia | 53.9 | 65.6 | 11.7 |
| Haiti | 51.5 | 60.9 | 9.4 |