A Quick Review of Graphs

You’ll see a lot of graphs in the pages ahead—don’t let it scare you. You encounter graphs every time you scroll through your news feed: charts for election results, opinion polls, sales figures, health outcomes, and just about anything else. Apps on your phone might supply you with graphs to show how many steps you took last week, how much you spent over the past month on different types of goods, or how many books you read last year. When you were applying to college, you probably consulted graphs that showed the range of entrance exam scores for first-year students at schools you were eyeing to see how you measured up.

We live in a time when data are cheap and plentiful, and so many aspects of our lives are quantified. Graphs make sifting through all of it a lot easier. Economics can make you a more effective user of all of that data. To start, here’s a quick refresher to walk you through some familiar graphs, with useful tips on how to read them. Along the way, we’ll remind you of some of the basic tools and language you’ll use to work through them.

Graphs That Break Down Numbers

A bar graph titled Annual family income in 2017 before tax plots Percentage of total income divided into quintiles along the horizontal axis and Annual family income in dollars along the vertical axis.

▲ Pie Charts When you want to break down a total into its component slices, pie charts can provide an easy way to show each of the parts that comprise the whole.

Data from: U.S. Bureau of Labor Statistics.

A bar graph titled Annual family income in 2017 before tax plots Percentage of total income divided into quintiles along the horizontal axis and Annual family income in dollars along the vertical axis.

▲ Analyzing Distributions When you want to see how an economic statistic—say, income—is distributed across the population, it can be helpful to divide the data up into smaller, equal-sized segments. In economics you’ll come across lots of data that has been broken down into fifths, segments that we call quintiles. This breakdown reveals the dispersion in outcomes across the population—a fact often obscured by measures like the median or mean. Bar charts like this one use quintiles to show that the poorest fifth of the population get by with an average annual income of less than $20,000, while the richest fifth enjoys an average income of nearly a quarter of a million dollars.

Data from: U.S. Census Bureau.

Graphs That Show Comparisons

Most of the graphs you encounter are designed to visualize numbers, give them scale, and provide opportunities to make comparisons.

A bar graph and a dot plot gives the median annual earnings of high school dropouts and graduates in 2017.

▲ Bar Chart and Dot Plot Sometimes you’ll want to compare data for different categories. One of the most common ways to visualize and compare data across different categories is with a bar chart. For example, a bar chart can show you, for particular levels of education, the median earnings of the person with that amount of education. Each bar in Panel A represents a category of education—like college graduate—and the height of the bar shows the median earnings of a person with that level of education. It’s easy to see that people with more education generally have higher earnings.

An even simpler way to represent data across categories is with a dot plot, as shown in Panel B. It’s an even simpler way to visualize and compare data across different categories. A dot plot shows different values for different groups, plotting the data along a single axis to show how different variables rank along a particular scale. Instead of the height of the bars showing you the median earnings of each education category, there is a dot on the dot plot. Both bar charts and data plots can be used to show the same information, so which way do you prefer to see the data?

Data from: U.S. Bureau of Labor Statistics.

A boring spreadsheet of numbers like this:

A screen grab of a worksheet shows a table with nine rows and three columns.

▲ Time-Series Graphs Often, you’ll want to look at how a certain indicator or data point changes over time. Plot time on the horizontal axis and your data (in this case, the percentage of the population who complete high school and college) along the vertical axis, and voila:

… becomes a clear time-series graph. The years become the horizontal axis, now for each column B and C, plot the data along the vertical axis for each year and connect the dots. Viola! You have a pretty graph that makes it much easier to take in the big finding—educational attainment has risen over time.

A graph shows years along the horizontal axis and Percentage share of people aged 25 plus along the vertical axis.

Data from: National Center for Education Statistics.

Graphs That Show Relationships

In economics, we are concerned not just with numbers describing different outcomes, but with relationships between different outcomes. The coordinate system enables you to display two sets of data on a single graph. This simple setup forms the skeleton of many of the graphs you will encounter in economics; it’s also one that you’re probably familiar with from middle school math class. You can plot one measure on the horizontal axis, and a second measure on the vertical, so each data point shows a pair of outcomes for an individual person, state, or country.

A scatterplot shows the Average income per person (adjusted for differences in the cost of living) in dollars along the horizontal axis and the Average satisfaction score in a country, in a scale of 0 to 10 along the vertical axis.

▲ Scatterplot You can plot individual data points on a coordinate graph to create a scatterplot. This simple graph helps you to see the range of responses and see if any patterns emerge. For example, we can plot the average happiness of people in a country and each country’s average income. Americans rated their level of life satisfaction on average to be about 7 on a scale of 1–10; and their average annual income is about $56,000 per person. The black dot below represents those two numbers—it shows the average level of happiness and income for people in the United States. The other dots represents another country’s averages. Looking at all the dots, you can see that richer countries are generally happier countries. There’s a relationship there.

A table and a line graph show that Lukia’s demand for avocados depends on the price. Accompanying text explains the table and graph in detail.

▲ The stylized graphs of economics One thing you’ll graph a lot in economics is the relationship between the price of stuff and the quantity of stuff people will buy or sell at different prices. The demand curve, a fundamental tool in economics, shows the quantity of stuff that people will buy at different prices. The demand curve always shows price on the vertical axis and quantity on the horizontal axis.

The demand curve will almost always slope down from top left to bottom right, reflecting the idea that when something becomes cheaper, people buy more of it. For example, when avocados are priced at $2.50 each, Lukia will only buy one. But when they are on sale for $0.50, she’ll buy five, and eat avocado toast all week long.

This graph demonstrates a negative relationship between quantity and price—you can see this because the line tilts downward as you look from left to right. If the line tilted upward from left to right, you’d be looking at a positive relationship.

In economics you’ll want to look at not just the direction of the line, but the steepness of it. This is called the slope. You calculate the slope along a straight line by looking at two points on the line, and dividing the vertical change by the horizontal change. In simple terms, it’s rise over run. In mathematical terms, it’s

An equation for slope.

In the chapters ahead, you’ll see lots of stylized graphs like this. We’ll take the time to walk you through each one, and provide a quick refresher on how to do all the calculations that come up in this book as we get to them.

A Relationship Is Not The Same Thing as Cause and Effect

Sometimes you’ll look at a graph, and you’ll see a very clear relationship between two variables. For example, if you compare the volume of ice cream produced in the United States over time with the number of airline miles flown in the same time period, you’ll see a clear relationship:

A graph shows years along the horizontal axis and Percentage change since January 2016 along the vertical axis shows that Ice cream production rises and falls with air travel.

You probably wouldn’t infer that the presence of airplanes flying overhead leads people to eat more ice cream. Lots of variables are related, but that doesn’t mean that one causes the other. There are other omitted variables—like the fact that people tend to go on vacation in the summer, and also eat more ice cream in the summer—that are related to both of these outcomes.

It’s also possible to think you’ve identified a cause-and-effect relationship, but to get it backward. If you compared airline miles flown with, say, time students spend in school, you would probably conclude that families tend to schedule vacations during school breaks. But if you conclude that kids don’t go to school in the summer or during the winter holidays because they’re traveling, you’ve reversed the causality.

Both cases should make you wary about drawing conclusions whenever you look at data, be it in a textbook like this one or a news story: The fact that two things are related, or correlated, doesn’t mean one causes the other. As the saying goes, “correlation does not imply causation.”