Non-FictionStudent's ShortcutVisualization

Data Visualization for Econ eBook

Create histograms, scatter plots, and box plots to

by Villarreal Sydney

  • English
  • 143 pages
  • 2026
  • SamEnrico

Create histograms, scatter plots, and box plots to visualize economic data distributions.

Formats

Free sample

Chapter 1: The Billionaire Who Broke the Average--The average American household earned $75,000 in 2020. The average American household also included Jeff Bezos. This is obviously absurd—Bezos is one person among 130 million households—yet this exact logical error appears in economic headlines every single day. A CEO announces that "average employee compensation rose 5% this year" while the median worker received nothing. A politician declares that "average incomes have grown" while the bottom 90% have stagnated for decades.

A central banker claims "average inflation is under control" while food and rent prices for the poor have doubled. The problem is not the data. The problem is the average itself.This chapter dismantles the economist's dangerous reliance on single-number summaries. You will learn why GDP per capita—the most cited economic statistic in the world—systematically hides inequality, poverty, and outliers. You will discover how four entirely different economies can produce identical averages, and why visualizing distributions is not an optional add-on but a prerequisite for sound economic policy, investment decisions, and honest communication.

By the end of this chapter, you will never trust a standalone average again.The Most Dangerous Number in Economics In 2022, the World Bank reported that global GDP per capita reached approximately $12,000. This number appears in thousands of reports, news articles, and policy briefs. It sounds precise, scientific, and authoritative. It is also nearly meaningless as a measure of human well-being.GDP per capita is calculated by taking the total economic output of a country (or the world) and dividing it by the population. That simple division hides everything that matters.

Consider two hypothetical countries:Country A: 100 citizens. Total GDP = 1million.GDPpercapita=1 million. GDP per capita = 1million.GDPpercapita=10,000.Country B: 100 citizens. Total GDP = 1million.GDPpercapita=1 million. GDP per capita = 1million.GDPpercapita=10,000.Identical averages.

But in Country A, every citizen earns exactly 10,000.In Country B,onecitizenearns10,000. In Country B, one citizen earns 10,000.In Country B,onecitizenearns990,000 and ninety-nine citizens earn roughly $101 each. The average is identical. The lived reality is utterly different. Yet if you read only the headline statistic, you would believe these two countries have identical prosperity.This is not a theoretical puzzle.

This is the difference between Norway and Nigeria. Between Denmark and diamonds-for-conflict African nations. Between the United States in 1970 and the United States in 2020, where the middle class hollowed out while the top 1 percent soared.The economist's term for this problem is the mean-median divergence. The mean (the average) is pulled in the direction of extreme values. The median (the middle value when all observations are sorted) is not.

When a distribution is symmetric—like human height, roughly bell-shaped around the average—the mean and median are nearly identical. When a distribution is skewed—as almost all economic variables are—the mean and median diverge. And that divergence is itself the most important economic fact you can discover.The Quartet That Will Change How You See Data In 1973, the statistician Francis Anscombe constructed a brilliant demonstration of why visualization is indispensable. He created four datasets with nearly identical summary statistics—same mean, same variance, same correlation, same regression line—yet wildly different distributions. This became known as Anscombe's Quartet.Let us construct an economic version of this lesson.

Imagine four countries, each with 100 citizens. Each country has the same mean income (50,000)andthesamemedianincome(50,000) and the same median income (50,000)andthesamemedianincome(48,000). By any standard summary statistic, these four economies are identical. Watch what happens when you actually look at the income distribution:Country 1: The Equal Society Incomes cluster tightly around the mean: 48, 49, 50, 51, 52 thousand dollars. Almost everyone earns roughly the same.

The histogram shows a single tall peak in the middle. Inequality is low. Social trust is high. The middle class is robust.Country 2: The Hourglass Economy Incomes split into two distinct groups: 20, 22, 24 thousand dollars for the bottom half, and 76, 78, 80 thousand for the top half. Almost no one earns the middle.

The histogram shows two peaks—a bimodal distribution. This is not a single economy but two economies living side by side, with vastly different access to housing, education, and healthcare. The "middle class" has disappeared.Country 3: The Billionaire Problem One citizen earns 4,950,000.Theother99earnroughly4,950,000. The other 99 earn roughly 4,950,000.Theother99earnroughly500 each. The mean remains 50,000.Themedianis50,000.

The median is 50,000.Themedianis500. The histogram shows a tiny spike at $500 and an invisible point at nearly five million dollars. This is not a functioning economy; it is a kleptocracy or a statistical mirage.Country 4: The Compressed Poverty Trap Every citizen earns between 45,000and45,000 and 45,000and55,000 except for one extreme outlier at the bottom earning 0andoneatthetopearning0 and one at the top earning 0andoneatthetopearning100,000. The distribution looks nearly equal except for two extreme tails. Poverty and wealth coexist at the edges while the middle appears comfortable.Four countries.

Identical averages. Four completely different policy prescriptions. Country 1 needs nothing. Country 2 needs policies that rebuild the middle class—progressive taxation, education investment, antitrust enforcement. Country 3 is not a country but a crime scene; the solution is not economic but political.

Country 4 needs targeted poverty alleviation and wealth taxes on the single rich outlier.The average told you nothing. The distribution told you everything.The Mean-Median Divergence in Real Economic Data Let us leave hypothetical countries and examine real economic data. The United States provides the most dramatic example of mean-median divergence in modern economic history.Household Income, United States, 1970 vs. 2020:In 1970, mean household income was approximately 9,000.Medianhouseholdincomewasapproximately9,000. Median household income was approximately 9,000.Medianhouseholdincomewasapproximately8,600.

The ratio was 1.05. In plain English: the average American household and the typical American household were nearly identical. The distribution was roughly symmetric. The middle class was thick.In 2020, mean household income was approximately 92,000.Medianhouseholdincomewasapproximately92,000. Median household income was approximately 92,000.Medianhouseholdincomewasapproximately68,000.

The ratio had grown to 1.35. The mean was 35 percent higher than the median. Why? Because the top 1 percent of households saw their incomes grow at three times the rate of the middle class. Those extreme values pulled the mean upward while the median—representing the experience of the person exactly in the middle—barely moved.This is not a statistical quirk.

This is the visual signature of rising inequality. When you hear a politician say "average incomes have grown," check immediately: are they talking about the mean or the median? If they say mean, ask for the median. If they cannot provide it, you are being misled.Wealth is Even Worse Income divergence is dramatic. Wealth divergence is catastrophic.

In 2022, the mean net worth of American households was approximately 750,000.Themediannetworthwasapproximately750,000. The median net worth was approximately 750,000.Themediannetworthwasapproximately120,000. The mean was more than six times higher than the median. This means a small number of extremely wealthy households (think Bezos, Musk, Gates) pull the average into the stratosphere while the typical household owns a car, some furniture, and maybe a modest retirement account.The histogram of wealth distribution in the United States is not a bell curve. It is not even two peaks.

It is a descending cliff: a massive spike at the low end (households with near-zero net worth) and a long, thin tail stretching out to billions of dollars. This shape—what statisticians call a power law or Pareto distribution—appears throughout economics. City sizes follow it. Firm sizes follow it. Internet traffic follows it.

And income and wealth follow it more extremely every decade.The Vocabulary of Distributional Thinking Before we proceed to the tools…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

Create histograms, scatter plots, and box plots to visualize economic data distributions.

Details

Author
Villarreal Sydney
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Student's Shortcut, Visualization
Released
2026-06-01
Pages (approx.)
143
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Villarreal Sydney

See all

You may also like

See all