Plot ratios and multiplicative growth on log scales
Back to the Chart galleryxpd charts
How do countries far below the global median compare in proportional terms with countries far above it?
Plotly Express Gapminder dataset, 2007 GDP per capita divided by the 142-country median (6,124 USD).
“On a logarithmic scale, multiplication by a fixed factor always corresponds to the same visual distance”
Also covered in Cleveland 1994 (3.1 Logarithms, p. 121), Wilke 2019 (3 Coordinate Systems and Axes, p. 18), Few 2012 (10 COMPONENT-LEVEL GRAPH DESIGN, p. 234), Few 2012 (10 COMPONENT-LEVEL GRAPH DESIGN, p. 234), Few 2012 (10 COMPONENT-LEVEL GRAPH DESIGN, p. 234), Aigner 2023 (4 Crafting Visualizations of Time-Oriented Data, p. 112), Aigner 2023 (4 Crafting Visualizations of Time-Oriented Data, p. 111).
Before
Interactive chart unavailable.
After
Interactive chart unavailable.
Values
Ethiopia sits roughly 9x below the median while Norway sits 8x above it.
Ethiopia (0.11x) and Norway (8.06x) appear nearly symmetric around the global median, while China (0.81x) and Brazil (1.48x) sit cleanly separated.
| Country | GDP per capita (USD) | Ratio to global median |
|---|---|---|
| Ethiopia | 691 | 0.113 |
| Bangladesh | 1391 | 0.227 |
| India | 2452 | 0.4 |
| China | 4959 | 0.81 |
| Brazil | 9066 | 1.48 |
| Mexico | 11978 | 1.956 |
| Germany | 32170 | 5.253 |
| Norway | 49357 | 8.059 |