7.2: Bar Graphs, Histograms and StemandLeaf Plots
Learning Objectives
 Construct a stemand leaf plot.
 Understand the importance of a stemandleaf plot in statistics.
 Construct and interpret a bar graph.
 Create a frequency distribution chart.
 Construct and interpret a histogram.
 Use technology to create graphical representations of data.
Introduction
Suppose you have a younger sister or brother and it is your job to entertain him or her every Saturday morning. You decide to take the youngster to the community pool to swim. Since swimming is a new thing to do, your little buddy isn’t too sure about the water and is a bit scared of the new adventure. You decide to keep a record of the length of time they stay in the water each morning. You recorded the following times (in minutes):
\begin{align*}12, 13, 21, 27, 33, 34, 35, 37, 40, 40, 41\end{align*}
Your brother or sister is too young to understand the meaning of the times that you’ve recorded so you decide that you have to draw a picture of these numbers to show to the child. How are you going to represent these numbers?
By the end of this lesson you will have several ideas of how to represent these numbers and you can choose the one that you think your little buddy will understand the best.
Bar Graphs
A bar chart or bar graph is often used for data that can be described by categories (months, colors, activities. . . ) which is referred to as qualitative data. A bar graph can also be used to represent numerical data (quantitative data) if the number of data is not too large. A bar graph plots the number of times a category or value occurs in the data set. The height of the bar represents the number of times the value or the observation appeared in the data set. The \begin{align*}y\end{align*}
Example 1: Sara is doing a project on winter weather for her Science project. She has decided to research the amount of snowfall (in inches) that fell last year for cities in Canada. Here is the information that she has collected:
City  Snowfall 

Vancouver  22 
Edmonton  54.2 
Regina  43 
Toronto  54 
Ottawa  88.6 
Montreal  123.8 
Moncton  104.6 
She is going to represent this qualitative data in a bar graph.
Sara has created a very colorful bar graph which includes a title, the category (City) on the \begin{align*}x\end{align*}
Example 2: The School Board for your district has to submit a report to the state that tells what percent of their casual employees work in the transportation department and the ages of these employees. The Board decides to create a frequency distribution table and then to display this information on a quantitative bar graph.
Bin (Age in yr.)  Percent 

(2029)  22 
(3039)  31 
(4049)  38 
(5059)  5 
This bar graph contains the information that the Board wanted to send to the state but the actual data has been lost. The ages of the employees have been put into bins that have groups of ages. As a result, you know that 22% of the employees are between the ages of 20 to 29 but you do not know the age of the employees. It is possible that 3 people are 20, 2 people are 25 and 3 people are 28. There are numerous combinations that could belong in this age group but that is something that you do not know from this graph. The only information that can be learned from this graph is the percentage of the employees that fit in each age group.
Bar graphs, whether they display qualitative or quantitative data can be extended to double bar graphs. Graphs of this nature are used for comparison of data.
Example 3: The new manager of the school cafeteria decided to ask students to choose a favorite food from the following list:
\begin{align*}\text{Hamburgers} && \text{Pizza} && \text{Salad} && \text{Subs} && \text{Tacos}\end{align*}
Once the students had made their decisions he created a double bar graph to compare the choices of boys and girls. The following graph shows the results:
The graph compares the preferences in food of the girls with those of the boys.
Histograms
A histogram is very similar to a bar graph with no spaces between the bars. The bars are all along side each other. The groups of data or bins are plotted on the \begin{align*}x\end{align*}
Example 1: Studies (and logic) show that the more homework you do the better your grade in a course. In a study conducted at a local school, students in grade 10 were asked to check off what box represented the average amount of time they spent on homework each night. The following results were recorded:
Time Spent on Homework (Hours)  Tally  Frequency (# of students) 

\begin{align*}[00.5)\end{align*} 
\begin{align*}\bcancel{   } \ \bcancel{   } \  \end{align*} 
12 
\begin{align*}[0.51.0)\end{align*} 
\begin{align*}\bcancel{   } \ \bcancel{   } \ \bcancel{   } \ \bcancel{   } \   \end{align*} 
23 
\begin{align*}[1.01.5)\end{align*} 
\begin{align*}\bcancel{   } \ \bcancel{   } \ \bcancel{   } \ \bcancel{   } \ \bcancel{   } \ \bcancel{   } \    \end{align*} 
34 
\begin{align*}[1.52.0)\end{align*} 
\begin{align*}\bcancel{   } \ \bcancel{   } \ \bcancel{   } \ \bcancel{   } \ \bcancel{   } \ \end{align*} 
26 
\begin{align*}[2.02.5)\end{align*} 
\begin{align*}\bcancel{   }\end{align*} 
5 
\begin{align*}2.5^+\end{align*} 
0 
This data will now be represented by drawing a histogram.
As with the bar graph, the actual data values are not plotted because the data has been grouped in bins.
An extension of the histogram is a frequency polygon graph. A frequency polygon simply joins the midpoints (the center of the tops of the bars) of the histogram class intervals with straight lines and then extends these to the horizontal axis. The distribution is extended one unit before the smallest recorded data and one unit beyond the largest recorded data. Looking at the histogram below, we can draw the frequency polygon on top of the histogram. The area under the frequency polygon is the same as the area under the histogram and is therefore equal to the frequency values in the table. The frequency polygon also the shape of the distribution of the data and in this case it resembles the bell curve.
StemandLeaf Plots
A stem and leaf plot is an organization of numerical data into categories based on place value. The stemandleaf plot is a graph that is similar to a histogram but it displays more information. Also, the data values are kept in a stemandleaf plot and are used to describe the shape of the distribution of the data. . For a stemandleaf plot, each number will be divided into two parts using place value. The stem is the lefthand column and will contain the digits in the largest place. The righthand column will be the leaf and it will contain the digits in the smallest place. For example the number 65 would be separated such that the 6 would be the stem (tens place) and 5 would be the leaf (digits place).
Example 1: In a recent study of male students at a local high school, students were asked how much money they spend socially on Prom night. The following numbers represent the amount of dollars of a random selection of 40 students.
\begin{align*}& 25 \quad \ 60 \quad \ 120 \quad \ 64 \quad \ 65 \quad \ \ 28 \quad \ \ 110 \ \quad 60\\
& 70 \quad \ 34 \quad \ \ 35 \ \quad \ 70 \quad \ 58 \quad \ 100 \quad \ \ 55 \quad \ 95\\
& 55 \quad \ 95 \quad \ \ 93 \ \quad \ 50 \quad \ 75 \quad \ \ 35 \quad \ \ 40 \quad \ 75\\
& 90 \quad \ 40 \quad \ \ 50 \ \quad \ 80 \quad \ 85 \quad \ \ 50 \quad \ \ 80 \quad \ 47\\
& 50 \quad \ 80 \quad \ \ 90 \ \quad \ 42 \quad \ 49 \quad \ \ 84 \quad \ \ 35 \quad \ 70\end{align*}
The above data values are not arranged in any order. For purposes of observing and analyzing data, the values can be distributed into smaller groups using a stemandleaf plot. The stems will be arranged vertically in ascending order (smallest to largest) and each leaf will be written to the right of its stem horizontally in order from least to greatest.
Stem  Leaf 

2  5, 8 
3  4, 5, 5, 5 
4  0, 0, 2, 7, 9 
5  0, 0, 0, 0, 5, 5, 8 
6  0, 0, 4, 5 
7  0, 0, 0, 5, 5 
8  0, 0, 0, 4, 5 
9  0, 0, 3, 5, 5 
10  0 
11  0 
12  0 
The stemandleaf plot can be interpreted very easily. By very quickly looking at stem 6, you see that 4 males spent 60 ‘some dollars’ on Prom night. By counting the number of leaves, you know that 40 males responded to the question concerning how much money they spent on prom night. The smallest and largest data values are known by looking and the first and last stemandleaf. The stemandleaf is ‘quick look’ chart that can quickly provide information from the data. This also serves as an easy method for sorting numbers manually.
Example 2: The women from the senior citizen’s complex bowl everyday of the month. Lizzie had never bowled before and was enjoying this new found pastime. She decided to keep track of her best score of the day for the month of September. Here are the scores that she recorded:
\begin{align*}& \ 77 \quad \ 80 \quad \ 82 \quad \ 68 \quad \ 65 \quad \ 59 \quad \ 61\\
& \ 57 \quad \ 50 \quad \ 62 \quad \ 61 \quad \ 70 \quad \ 69 \quad \ 64\\
& \ 67 \quad \ 70 \quad \ 62 \quad \ 65 \quad \ 65 \quad \ 73 \quad \ 76\\
& \ 87 \quad \ 80 \quad \ 82 \quad \ 83 \quad \ 79 \quad \ 79 \quad \ 77\\
& \ 80 \quad \ 71 \quad \ \quad \ \quad \ \quad \ \quad \ \quad\end{align*}
In order for Lizzie to see how well she is doing, create a stemandleaf plot of her scores.
Stem  Leaf 

5  0,7,9, 
6  1, 1, 2, 2, 4, 5, 5, 5, 7, 8, 9 
7  0, 0, 1, 3, 6, 7, 7, 9, 9 
8  0, 0, 0, 2, 2, 3, 7 
Let’s return to the problem that was posed at the beginning of the lesson. You are supposed to display the amount of time your young brother or sister stayed in the water each time you went swimming. Let’s look at some options.
Solution:
Stem  Leaf 

1  2, 3 
2  1, 7 
3  3, 4, 5, 7, 
4  0, 0, 1 
Frequency Distribution Table
Bin  Frequency 

\begin{align*}[1020)\end{align*} 
2 
\begin{align*}[2030)\end{align*} 
2 
\begin{align*}[3040)\end{align*} 
4 
\begin{align*}[4050)\end{align*} 
3 
Lesson Summary
In this lesson you learned how to display data that was both qualitative and quantitative. You created bar graphs that were both single and double. The double bar graphs are very good for comparing two sets of data quickly. The histogram was another way of representing data. It is similar to a bar graph – without the spaces. You also learned that both of these graphs lose the actual data when they are plotted. The data itself remains in bins or categories. Using a stemandleaf plot allows the actual data to be saved and it is really an ‘at a glance’ graph. Although it is quicker and less time consuming to manually create a stemandleaf than it is a bar graph or a histogram, the appearance of the latter two graphs is much more appealing to the eye.
Points to Consider:
 Is there any other way to display data that is useful when comparing the values of two data sets?
 Other than sorting the data into categories or bins, there were no mathematical calculations that had to be done to create these graphs. Are calculations necessary to represent data on another type of graph?
Review Questions
 For the following graph answer the questions below:
 What is displayed on the vertical axis?
 What scale is used on the vertical axis?
 What is displayed on the horizontal axis?
 Which city had the least amount of snow in 2008?
 Which city had the most snow in 2008?
 Which two cities showed little difference in the amount of snow they received?
 Do some research in your area and create a bar graph similar to that in question one, concerning weather for cities in your country.
 For the following graph, answer the questions below.
 What is the total percent of people that work in the transportation department?
 Why do you think this total is not 100%?
 Which age group has the most people that work in the transportation department?
 Which age group has the fewest number of people who work in the transportation department?
 For each of the following examples, describe why you would likely use a bar graph or a histogram.
 Frequency of the favorite drinks for the first 100 people to enter the school dance.
 Frequency of the average time it takes the people in your class to finish a math assignment.
 Frequency of the average distance people park their cars away from the mall in order to walk a little more.
 Prepare a histogram using the following scores from a recent science test. When done, use a different colour pencil and draw a frequency polygon on your graph. Does the area under your frequency polygon look equal to the area colored in your histogram?
Score (%)  Tally  Frequency 

5060 
\begin{align*}\end{align*} 
4 
6070 
\begin{align*}\cancel{} \ \end{align*} 
6 
7080 
\begin{align*}\cancel{} \cancel{} \ \end{align*} 
11 
8090 
\begin{align*}\cancel{} \ \end{align*} 
8 
90100 
\begin{align*}\end{align*} 
4 
 A research firm has just developed a streakfree glass cleaner. The product is sold at a number of local chain stores and its sales are being closely monitored. At the end of one year, the sales of the product are released. The company is planning on starting up an Ad Campaign to promote the product. The data is found in the chart below. \begin{align*}& 266 \quad \ \ 94\; \quad \ 204 \quad \ 164 \quad \ 219 \quad \ 163\\
& 87\; \quad \ \ 248 \quad \ 137 \quad \ 193 \quad \ 144 \quad \ \ 89\\
& 175 \quad \ 164 \quad \ 118 \quad \ 248 \quad \ 159 \quad \ 123\\
& 220 \quad \ 141 \quad \ 122 \quad \ 143 \quad \ 250 \quad \ 168\\
& 100 \quad \ 217 \quad \ 165 \quad \ 226 \quad \ 138 \quad \ 131\end{align*}
266 94 204 164 219 16387 248 137 193 144 89175 164 118 248 159 123220 141 122 143 250 168100 217 165 226 138 131 Display the sales of the product before the Ad campaign in a stemandleaf plot.  Answer the following questions with respect to the above stemandleaf plot.
 How many chain stores were involved in selling the streakfree glass cleaner?
 In stem 1, what does the number 11 represent? What does the number 8 represent?
 What percentage of stores sold less than 175 bottles of streakfree glass cleaner?
Review Answers

 The snowfall amount in inches.
 The scale is each block = 20 inches.
 The name of the city.
 Vancouver
 Moncton
 Edmonton and Toronto
 Answers will vary
 96%
 Some casual workers work in other departments
 4049
 5059
 The responses for the question “What is your favorite beverage?” would be specific names. There is no range in the data. Therefore a bar graph would be used. The beverage would be on the \begin{align*}x\end{align*}
x− axis and the number of students would be on the \begin{align*}y\end{align*}y− axis. A Bar Graph would be used.  The results would have to be grouped in intervals since each result represents a specific time. The time intervals would be on the \begin{align*}x\end{align*}
x− axis and the number of students would be on the \begin{align*}y\end{align*}y− axis. A Histogram would be used.  Once again a histogram would be used since the results would have to be grouped in intervals since each result represents a specific distance. The distance intervals would be on the \begin{align*}x\end{align*}
x− axis and the number of people would be on the \begin{align*}y\end{align*}y− axis.
The area under the frequency polygon appears to be equal to the area of the histogram.
Stem  Leaf 

8  7, 9 
9  4 
10  0 
11  8 
12  2, 3 
13  1, 7, 8 
14  1, 3, 4 
15  9 
16  3, 4, 4, 5, 8 
17  5 
18  
19  3 
20  4 
21  7, 9 
22  0, 6 
23  
24  8, 8 
25  0 
26  6 
(a) 30 stores
(b) 118 bottles of streak free cleaner sold by 1 store
(c) 63.3%
Answer Key for Review Questions (even numbers)
2. Answers will vary
4. a. The responses for the question “What is your favorite beverage?” would be specific names. There is no range in the data. Therefore a bar graph would be used. The beverage would be on the \begin{align*}x\end{align*}
b. The results would have to be grouped in intervals since each result represents a specific time. The time intervals would be on the \begin{align*}x\end{align*}axis and the number of students would be on the \begin{align*}y\end{align*}axis. A Histogram would be used.
c. Once again a histogram would be used since the results would have to be grouped in intervals since each result represents a specific distance. The distance intervals would be on the \begin{align*}x\end{align*}axis and the number of people would be on the \begin{align*}y\end{align*}axis.
6.
Stem  Leaf 

8  7, 9 
9  4 
10  0 
11  8 
12  2, 3 
13  1, 7, 8 
14  1, 3, 4 
15  9 
16  3, 4, 4, 5, 8 
17  5 
18  
19  3 
20  4 
21  7, 9 
22  0, 6 
23  
24  8, 8 
25  0 
26  6 