21 Reading: Types of Graphs

Graphic showing multicolored intersecting lines in three dimensions.

Three types of graphs are used in this course: line graphs, pie graphs, and bar graphs. Each is discussed below.

Line Graphs

The graphs we’ve discussed so far are called line graphs, because they show a relationship between two variables: one measured on the horizontal axis and the other measured on the vertical axis.

Sometimes it’s useful to show more than one set of data on the same axes. The data in the table, below, is displayed in Figure 1, which shows the relationship between two variables: length and median weight for American baby boys and girls during the first three years of life. (The median means that half of all babies weigh more than this and half weigh less.) The line graph measures length in inches on the horizontal axis and weight in pounds on the vertical axis. For example, point A on the figure shows that a boy who is 28 inches long will have a median weight of about 19 pounds. One line on the graph shows the length-weight relationship for boys, and the other line shows the relationship for girls. This kind of graph is widely used by health-care providers to check whether a child’s physical development is roughly on track.

The graph shows length (inches) along the x-axis and weight (pounds) along the y-axis. The following points reflect the length-weight ratio of American boys: (20, 8.0), (22, 10.5), (24, 13.5), (26, 16.4), (28, 19), (30, 21.8), (32, 24.3), (34, 27), (36, 9.3), (38, 32). The following points reflect the length-weight ratio of American girls: (20, 7.9), (22, 10.5), (24, 13.2), (26, 16), (28, 18.8), (30, 21.2), (32, 24), (34, 26.2), (36, 28.9), (38, 31.3).
Figure 1. The Length-Weight Relationship for American Boys and Girls
Length-to-Weight Relationship for American Boys and Girls
Boys from Birth to 36 Months Girls from Birth to 36 Months
Length (inches) Weight (pounds) Length (inches) Weight (pounds)
20.0 8.0 20.0 7.9
22.0 10.5 22.0 10.5
24.0 13.5 24.0 13.2
26.0 16.4 26.0 16.0
28.0 19.0 28.0 18.8
30.0 21.8 30.0 21.2
32.0 24.3 32.0 24.0
34.0 27.0 34.0 26.2
36.0 29.3 36.0 28.9
38.0 32.0 38.0 31.3

Not all relationships in economics are linear. Sometimes they are curves. Figure 2, below, presents another example of a line graph, representing the data from the table underneath. In this case, the line graph shows how thin the air becomes when you climb a mountain. The horizontal axis of the figure shows altitude, measured in meters above sea level. The vertical axis measures the density of the air at each altitude. Air density is measured by the weight of the air in a cubic meter of space (that is, a box measuring one meter in height, width, and depth). As the graph shows, air pressure is heaviest at ground level and becomes lighter as you climb. Figure 1 shows that a cubic meter of air at an altitude of 500 meters weighs approximately one kilogram (about 2.2 pounds). However, as the altitude increases, air density decreases. A cubic meter of air at the top of Mount Everest, at about 8,828 meters, would weigh only 0.023 kilograms. The thin air at high altitudes explains why many mountain climbers need to use oxygen tanks as they reach the top of a mountain.

The graph shows altitude on the x-axis and air density on the y-axis. A downward sloping lines has the end points (0, 1.2) and (8.828, 0.023). End point (8,828, 0.023) represents the top of Mount Everest.
Figure 2. Altitude–Air-Density Relationship
Altitude–to–Air-Density Relationship
Altitude (meters) Air Density (kg/cubic meters)
0 1.200
500 1.093
1,000 0.831
1,500 0.678
2,000 0.569
2,500 0.484
3,000 0.415
3,500 0.357
4,000 0.307
4,500 0.231
5,000 0.182
5,500 0.142
6,000 0.100
6,500 0.085
7,000 0.066
7,500 0.051
8,000 0.041
8,500 0.025
9,000 0.022
9,500 0.019
10,000 0.014

The length-weight relationship and the altitude–air-density relationship in these two figures represent averages. If you were to collect actual data on air pressure at different altitudes, the same altitude in different geographic locations would have slightly different air density, depending on factors like how far you were from the equator, local weather conditions, and the humidity in the air. Similarly, in measuring the height and weight of children for the previous line graph, children of a particular height would have a range of different weights, some above average and some below. In the real world, this sort of variation in data is common. The task of a researcher is to organize that data in a way that helps to understand typical patterns. The study of statistics, especially when combined with computer statistics and spreadsheet programs, is a great help in organizing this kind of data, plotting line graphs, and looking for typical underlying relationships. For most economics and social science majors, a statistics course will be required at some point.

One common line graph is called a time series, in which the horizontal axis shows time and the vertical axis displays another variable. Thus, a time-series graph shows how a variable changes over time. Figure 3 shows the unemployment rate in the United States since 1975, where unemployment is defined as the percentage of adults who want jobs and are looking for a job, but cannot find one. The points for the unemployment rate in each year are plotted on the graph, and a line then connects the points, showing how the unemployment rate has moved up and down since 1975. With a graph like this, it is easy to spot the times of high unemployment and of low unemployment.

The graph shows unemployment rates since 1970. The highest rates occurred around 1983 and 2010.
Figure 3. U.S. Unemployment Rate, 1975–2014

Pie Graphs

A pie graph (sometimes called a pie chart) is used to show how an overall total is divided into parts. A circle represents a group as a whole. The slices of this circular “pie” show the relative sizes of subgroups.

Figure 4 shows how the U.S. population was divided among children, working-age adults, and the elderly in 1970, 2000, and what is projected for 2030. The information is first conveyed with numbers in the table, below, and then in three pie charts.

U.S. Age Distribution, 1970, 2000, and 2030 (projected)
Year Total Population 19 and Under 20–64 years Over 65
1970 205.0 million 77.2 (37.6%) 107.7 (52.5%) 20.1 (9.8%)
2000 275.4 million 78.4 (28.5%) 162.2 (58.9%) 34.8 (12.6%)
2030 351.1 million 92.6 (26.4%) 188.2 (53.6%) 70.3 (20.0%)
The image shows three pie graphs representing age distribution in the U.S. Image (a) shows that in 1970, people 19 and under made up 77.2 million or 37.6% of the population; people between ages 20 and 64 made up 107.7 million or 52.5% of the population; and people 65 or older made up 20.1 million or 9.8% of the population. Image (b) shows that in 2000, people 19 and under made up 78.4 million or 28.5% of the population; people between ages 20 and 64 made up 162.2 million or 58.9% of the population; and people 65 or older made up 34.8 million or 12.6% of the population. Image (c) projects that in 2030, people 19 and under will make up 92.6 million or 26.4% of the population; people between ages 20 and 64 made up 188.2 million or 53.6% of the population; and people 65 or older made up 70.3 million or 20% of the population.
Figure 4. Pie Graphs of the U.S. Age Distribution (numbers in millions)

In a pie graph, each slice of the pie represents a share of the total, or a percentage. For example, 50% would be half of the pie and 20% would be one-fifth of the pie. The three pie graphs in Figure 4 show that the share of the U.S. population 65 and over is growing. The pie graphs allow you to get a feel for the relative size of the different age groups from 1970 to 2000 to 2030, without requiring you to slog through the specific numbers and percentages in the table. Some common examples of how pie graphs are used include dividing the population into groups by age, income level, ethnicity, religion, occupation; dividing different firms into categories by size, industry, number of employees; and dividing up government spending or taxes into its main categories.

Bar Graphs

A bar graph uses the height of different bars to compare quantities. The table, below, lists the 12 most populous countries in the world. Figure 5 provides this same data in a bar graph. The height of the bars corresponds to the population of each country. Although you may know that China and India are the most populous countries in the world, seeing how the bars on the graph tower over the other countries helps illustrate the magnitude of the difference between the sizes of national populations.

The bar graph shows population (millions) on the y-axis and lists various countries along the x-axis. The approximate population in 2015 for each of these countries is as follows: China = 1,369; India = 1,270; Unite States = 321, Indonesia = 255; Brazil = 204; Pakistan = 190; Bangladesh = 158; Russia = 146; Japan = 127; Mexico = 121; Philippines = 101.
Figure 5. Leading Countries of the World by Population, 2015 (in millions)
Leading 12 Countries of the World by Population
Country Population
China 1,369
India 1,270
United States 321
Indonesia 255
Brazil 204
Pakistan 190
Nigeria 184
Bangladesh 158
Russia 146
Japan 127
Mexico 121
Philippines 101

Bar graphs can be subdivided in a way that reveals information similar to that we can get from pie charts. Figure 6 offers three bar graphs based on the information from Figure 4 about the U.S. age distribution in 1970, 2000, and 2030. Figure 6 (a) shows three bars for each year, representing the total number of persons in each age bracket for each year. Figure 6 (b) shows just one bar for each year, but the different age groups are now shaded inside the bar. In Figure 6 (c), still based on the same data, the vertical axis measures percentages rather than the number of persons. In this case, all three bar graphs are the same height, representing 100 percent of the population, with each bar divided according to the percentage of population in each age group. It is sometimes easier for a reader to run his or her eyes across several bar graphs, comparing the shaded areas, rather than trying to compare several pie graphs.

The image shows three bar graphs that represent the U.S. population. All three images reveal the same information presented in different ways. In 1970, people 19 and under made up 77.2 million or 37.6% of the population; people between ages 20 and 64 made up 107.7 million or 52.5% of the population; and people 65 or older made up 20.1 million or 9.8% of the population. In 2000, people 19 and under made up 78.4 million or 28.5% of the population; people between ages 20 and 64 made up 162.2 million or 58.9% of the population; and people 65 or older made up 34.8 million or 12.6% of the population. In 2030, the projection is that people 19 and under will make up 92.6 million or 26.4% of the population; people between ages 20 and 64 made up 188.2 million or 53.6% of the population; and people 65 or older made up 70.3 million or 20% of the population. Image (a) shows separate bar graphs for each age group in each time period (so 9 bars total). Image (b) shows the total population divided into age groups (so 3 bars total, with different color coding to identify the portions pertaining to different ages). Image (c) shows the total population divided into percentages to reveal the prediction that in 2030 (so 3 bars total, with different color coding to identify the portions pertaining to different ages).
Figure 6. U.S. Population with Bar Graphs

Figure 5 and Figure 6 show how the bars can represent countries or years, and how the vertical axis can represent a numerical or a percentage value. Bar graphs can also compare size, quantity, rates, distances, and other quantitative categories.

Comparing Line Graphs, Pie Charts, and Bar Graphs

Now that you are familiar with pie graphs, bar graphs, and line graphs, how do you know which graph to use for your data? Pie graphs are often better than line graphs at showing how an overall group is divided. However, if a pie graph has too many slices, it can become difficult to interpret.

Bar graphs are especially useful when comparing quantities. For example, if you are studying the populations of different countries, as in Figure 5, bar graphs can show the relationships between the population sizes of multiple countries. Not only can it show these relationships, but it can also show breakdowns of different groups within the population.

A line graph is often the most effective format for illustrating a relationship between two variables that are both changing. For example, time-series graphs can show patterns as time changes, like the unemployment rate over time. Line graphs are widely used in economics to present continuous data about prices, wages, quantities bought and sold, the size of the economy.

Self Check: Graphs in Economics

Answer the question(s) below to see how well you understand the topics covered in the previous section. This short quiz does not count toward your grade in the class, and you can retake it an unlimited number of times.

You’ll have more success on the Self Check if you’ve completed the three Readings in this section.

Use this quiz to check your understanding and decide whether to (1) study the previous section further or (2) move on to the next section.

License

Icon for the Creative Commons Attribution 4.0 International License

Macroeconomics Copyright © by Lumen Learning is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book