Skip to content

Plot ratios and multiplicative growth on log scales

badscales and axesjudgmentCleveland 1994 p. 121Wilke 2019 p. 18Few 2012 p. 234Few 2012 p. 234Few 2012 p. 234Aigner 2023 p. 112Aigner 2023 p. 111

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”

William S. Cleveland, "The Elements of Graphing Data", revised edition, p. 17.

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).

CVD preview

Before

A linear axis compresses Ethiopia (0.11x), Bangladesh (0.23x), and India (0.40x) into a cramped left sliver while stretching Norway (8.06x) across most of the width.

Download before Python code

After

A logarithmic ratio scale places 0.125x and 8x at equal distance on opposite sides of the 1x median reference line.

Download after Python code

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.

Values used in both charts
CountryGDP per capita (USD)Ratio to global median
Ethiopia6910.113
Bangladesh13910.227
India24520.4
China49590.81
Brazil90661.48
Mexico119781.956
Germany321705.253
Norway493578.059