Search
Menu

Data Resources

Choose a data activity by the question being asked, then match the display and summary to the type of data.

Quick Answer

Use the data resource bank to practise averages, range, frequency tables and interpreting displays. Choose a worksheet for the skill you need, then use its answer sheet to check both the calculation and the conclusion it supports.

Coloured counters sorted into frequency columns
Advertisement

Averages and Spread

  • Average and Range Spiders – alutwyche on TES
  • Average and range fill in the blanks (answers) – Dr Austin Maths
  • Girls are Better at Maths? – mathspad.co.uk
  • Averages Puzzle – mathspad.co.uk
  • Small data set average problems – Median Don Steward
  • Mean lesson – Boss Maths
  • Mean matching cards – NCETM
  • Mean questions (answers) – @taylorda01
  • Reverse mean – KennethStafford.co.uk
  • Mean from a list – Richard Tock
  • Mean from a list of data – numbers – Craig Barton via variationtheory.com
  • Mean from a list of data – algebra – Craig Barton via variationtheory.com
  • Mean from a list of data – missing numbers – Craig Barton via variationtheory.com
  • Median lesson – Boss Maths
  • Median and Quartiles Fill In The Blanks (Answers) – Dr Austin Maths
  • Median questions (answers) – @taylorda01
  • Median from a list of data – Craig Barton via variationtheory.com
  • Interquartile range – Miss Konstantine
  • Range lesson – Boss Maths
  • Range from a list of data – Craig Barton via variationtheory.com
  • Wipe out – Median Don Steward
  • Two poems – Median Don Steward
  • Averages and the range worksheets  – Maths4Everyone on TES
  • Exam questions on averages and the range – Maths4Everyone on TES
  • Averages and range true or false (answers)  – Dr Austin
  • Mean, Median, Mode and Range – Maths Assessment Project 
  • Averages and Range Maths Challenge Questions (answers) – Dr Austin Maths
  • Averages and range: increase, decrease, same? – Craig Barton via variationtheory.com
  • Venn rich tasks – mathsvenns.com
  • Averages with fractions – Nathan Day
  • Averages with surds – Nathan Day
  • OAT Maths lessons and booklet – OAT Maths
 
From a frequency table
  • Frequency tables – MathsHKO
  • Messy Means – Maths Sandpit
  • Frequency Tables and Mode – Richard Tock
  • Mean from a frequency table – Richard Tock
  • Estimating the mean from a grouped frequency table – Richard Tock
  • Mean from a table crack the code (answers) – Dr Austin Maths
  • Estimate the mean from a grouped frequency table – @fortyninecubed via variationtheory.com
  • Estimate the mean from a frequency table 2 – @fortyninecubed via variationtheory.com
  • Mode and modal class lesson – Boss Maths
  • Mean of a frequency distribution – Median Don Steward
  • Mean from a frequency table – @mathsmrgordon via variationtheory.com
  • Mode from a frequency table – @mathsmrgordon via variationtheory.com
  • Mean, Median, Mode – mathshelper.co.uk
  • GCSE questions on frequency tables – Maths4Everyone on TES
  • Averages from frequency tables exam-style questions (answers) – 1st Class Maths
  • Averages from grouped frequency tables exam-style questions (answers) – 1st Class Maths
  • MathsPad has great resources for frequency tables and averages – subscription required.
Average number of peas in a pod? – from Median Don Steward


Bar Charts


Pie Charts

 
Histograms
Stem and Leaf
  • Simple stem and leaf worksheet  – nottcl on TES
  • Stem and leaf lesson and resources – goteachmaths
  • Stem and leaf diagram problems – Don Steward
 
Pictograms
  • Pictograms lesson – Boss Maths
  • Pictograms lesson – Richard Tock
  • Pictograms task – @giftedHKO
 
Cumulative Frequency and Box Plots

Scatter Graphs and Causation

Ideas and resources in my blog post on scatter graphs

    • Scatter graphs, correlation and causation – Boss Maths
    • Scatter Graphs True or False – MathsPad
    • Scatter graph resources – goteachmaths
    • ‘Bee aware‘ activity – Median Don Steward
    • Scatter graph questions – Median Don Steward
    • Scatter graph hat-trick – Teachit Maths
    • Scatter graphs – TeachitMaths
    • Statistical diagrams chapter (including scatter graphs) – CIMT (see website for answers)
    • Scatter graph investigation – Teachit Maths
    • Scatter graphs activities – Phil Hatchard on TES
    • Correlation vs Causation Worksheet – mathworksheetsland.com
    • Correlation vs Causation Activities – sweeney67.weebly.com
    • Correlation and cause slides – ceviche on TES
    • GCSE 9-1 Exam Practice Questions (Scatter Graphs) – Maths4Everyone on TES
    • OAT Maths lessons and booklet – OAT Maths


 
Time Series 
(note that moving averages are not on the new GCSE specification but time series are)
  • Tables, conversion graphs, line graphs and time series – Boss Maths
  • Times Series & Moving Averages – Ryan Smailes on TES
  • Time Series Graphs – mcs123 on TES
  • Data Analysis and Interpretation – CIMT
  • Moving Averages – @dooranran on TES
  • Time Series textbook chapter
everybodyisagenius.blogspot.com
Sampling and Surveys
  • Sampling lesson – Boss Maths
  • Paddy Paws, Nisbett and the parrot (data collection sheet design) – Teachit Maths
  • Interactive biased question sort – mathspad.co.uk
  • Common mistakes survey – The Chalk Face  (& accompanying PowerPoint)
  • Prezi slideshow ‘Sampling’ – to generate discussion about sampling methods (by me!) 
  • Types of data – The Chalk Face
  • Data types and sampling methods – Teachit Maths
  • Data collection and sampling revision cards – Teachit Maths
  • Parking Permits (stratified sampling) – student sheet, notes, slides – Nuffield Foundation

Capture-Recapture 
  • Capture-Recapture handout and slides – MathsPad
  • Capture and Recapture – nrich
  • Capture Recapture textbook exercise – CorbettMaths
  • Capture Recapture New GCSE – dannytheref on TES
  • Capture-Recapture Slides – pbrucemaths on TES
  • Capture recapture worksheet – youngscientistsmhs.weebly.com
  • Select ‘Estimating Populations’ on the mathsbot.com GCSE question generator
  • Mark and recapture garden snails (graphic for practical activity) – The Wildlife Trusts on TES
  • See Edexcel Emporium (GCSE 1MA1 Practice papers > Themed papers) for exam questions

 

Evaluating Statements about Probability – Mathematics Assessment Project

Listing and Counting
  • Systematic listing strategies and the product rule for counting lesson – Boss Maths
  • Listing outcomes – Maths4Everyone on TES
  • Product rule for counting exercise – Corbett Maths
  • Systematic listing and counting strategies – one freee, five with MathsPad subscription
  • Three pens – Just Maths
  • Product Rule for Counting – Corbett Maths
  • Product Rule for Counting – First Class Maths
  • Counting Strategies Full Coverage GCSE Questions – compiled by Dr Frost
  • Blog post: Multiplicative counting – the different types from @MrMattock
  • Blog post & resource list: Systematic Listing Strategies from @ColleenYoung

Probability 
  • CIMT Probability – KS3 and GCSE – CIMT via TES
  • Simple probability worksheets – dh2119 on TES
  • Mutually exclusive probability – Richard Tock on TES
  • Probability (slides and worksheets) – Dan Walker on TES
  • Simple probability match-up – mathspad.co.uk
  • Probability resources – Dr Austin Maths
  • Theoretical probability lesson – Boss Maths
  • Probability and counters – Don Steward
  • Probability – Filling Spinners – steele1989 on TES
  • Probability Puzzles – alutwyche on TES
  • Experimental vs Theoretical probability activity
  • Old KS2 probability questions
  • Probability KS3 questions – Median Don Steward
  • Greater odds – Median Don Steward
  • Probability and words – Median Don Steward
  • Simple probability – Maths4Everyone on TES
  • Probability single event – Maths4Everyone on TES
  • Evaluating Statements about Probability – Maths Assessment Project (activities at the back)
  • Introduction to probability – lessons plans and activities – Project Maths
  • Introduction to relative frequency – lessons plans and activities – Project Maths
  • Relative frequency lesson – Boss Maths
  • Fair or not? – Median Don Steward
  • Probabilities from tables – steele1989 on TES
  • Sample space scenarios – Teachit Maths
  • Sample space puzzles – Teachit Maths
  • Could it be a probability? – Craig Barton via variationtheory.com
  • Conditional probability lesson – Boss Maths
  • Probability Full Coverage GCSE Questions – compiled by Dr Frost
  • Exam style questions – Transum
  • Conditional Probability (answers) – 1st Class Maths
 
Probability Trees
 
Frequency Trees
  • Frequency trees lesson – Boss Maths
  • Reasoning with Frequency Trees – Mr Draper Maths
  • Frequency trees and percentages – Don Steward
  • Frequency trees – alisongilroy on TES
  • Frequency trees – explanation and exploration – DaveGale on TES
  • Frequency trees 1/ Frequency trees 2 / Frequency trees 3 – m4ths.com
  • Prize Giving – nrich
  • LEARN homework – JustMaths

Sets and Venns 
  • Sets GCSE Summary Book – Maths4Everyone on TES
  • Venn diagram dominoes – Teachit Maths
  • Venn diagrams activities – nottcl on TES
  • Sets & Venns Chapter
  • Probability & Venn Diagrams Chapter
  • Logic and Venn Diagrams (& activities & slides) – CIMT
  • Venn Paint – Transum
  • Set notation worksheet
  • Venn resources – Dr Austin Maths  
  • Venn Diagram Activities Probability – nottcl on TES
  • Venn Diagrams and the Addition Rule – Illustrative Mathematics
  • Venn Diagram exam questions – from Irish exam papers via @e_hayes12 
  • Probability venn diagrams – mathshelper.co.uk
  • Independence, Dependence, Mutually Exclusive or Not? – Payphone on TES
  • KS3-4 Bridging the gap Pocket 5 – Set notation, number lines and Venn diagrams – AQA
  • Venn Diagram AQA GCSE questions – collated by the calculatorguide.com
  • GCSE (9-1) Venn diagrams exam questions – aliali on TES 
  • Exam Question Practice (Venn Diagrams) – Maths4Everyone
  • Exam style questions – Transum
Other resources
  • Data activities – CIMT
  • Representing data check-in – OCR
  • Two way tables and frequency tables lesson – Boss Maths
  • Two way tables with ratio and fractions – @mathsmrgordon via variationtheory.com
  • US Presidents longevity task – Median Don Steward
  • Data analysis report – HE applications – Nuffield Foudation
US Presidents Longevity – Median Don Steward
Revision
Advertisement

Notice what disappears in a grouped table

A class records journey times of eight, nine, twelve, thirteen and eighteen minutes. Grouping times under ten in one row and ten to nineteen in another gives frequencies two and three. The total of five is preserved but the longest exact time cannot be recovered from the table alone. Retain the original observations if a later question needs the exact maximum or mean.

Visualizing Categorical Data

If the data we’re visualizing is categorical, then we want a quick way to represent graphically the relative numbers of units that fall in each category. When we created the frequency distributions in the last section, all we did was count the number of units in each category and record that number (this was the frequency of that category). Frequencies are nice when we’re organizing and summarizing data; they’re easy to compute, and they’re always whole numbers. But they can be difficult to understand for an outsider who’s being introduced to your data.
Let’s consider a quick example. Suppose you surveyed some people and asked for their favorite color. You communicated your results using a frequency distribution. Jerry is interested in data on favorite colors, so he reads your frequency distribution. The first row shows that twelve people indicated green was their favorite color. However, Jerry has no way of knowing if that’s a lot of people without knowing how many people total took your survey. Twelve is a pretty significant number if only twenty-five people took the survey, but it’s next to nothing if you recorded a thousand responses. For that reason, we will often summarize categorical data not with frequencies, but with proportions. The proportion of data that fall into a particular category is computed by dividing the frequency for that category by the total number of units in the data.
Proportion of a category=Category frequencyTotal number of data units
Proportions can be expressed as fractions, decimals, or percentages.

Finding Proportions

Recall worked example, in which a teacher recorded the responses on the first question of a multiple choice quiz, with five possible responses (A, B, C, D, and E). The raw data was as follows:
A A C A B B A E A C A A A C
E A B A A C A B E E A A C C
We computed a frequency distribution that looked like this:
Response to First Question Frequency
A 14
B 4
C 6
D 0
E 4
Proportion of a category=Category frequency/Total number of data units
Now, let's compute the proportions for each category.
Solution
Step 1: In order to compute a proportion, we need the frequency (which we have in the table above) and the total number of units that are represented in our data. We can find that by adding up the frequencies from all the categories: 14+4+6+0+4=28.
Step 2: To find the proportions, we divide the frequency by the total. For the first category (“A”), the proportion is 1428=12=0.5=50%. We can compute the other proportions similarly, filling in the rest of the table:
Response to First Question Frequency Proportion
A 14
1428=50%
B 4
428=14.3%
C 6
628=21.4%
D 0
028=0%
E 4
428=14.3%
Step 3: Check your work: If you add up your proportions, you should get 1 (if you’re using fractions or decimals) or 100% (if you’re using percentages). In this case, 50%+14.3%+21.4%+0%+14.3%=100%.
Now that we can compute proportions, let’s turn to visualizations. There are two primary visualizations that we’ll use for categorical data: bar charts and pie charts. Both of these data representations work on the same principle: If proportions are represented as areas, then it’s easy to compare two proportions by assessing the corresponding areas. Let’s look at bar charts first.

Bar Charts

A bar chart is a visualization of categorical data that consists of a series of rectangles arranged side-by-side (but not touching). Each rectangle corresponds to one of the categories. All of the rectangles have the same width. The height of each rectangle corresponds to either the number of units in the corresponding category or the proportion of the total units that fall into the category.

Building a Bar Chart

In worked example, we computed the following proportions:
Response to First Question Frequency Proportion
A 14 50%
B 4 14.3%
C 6 21.4%
D 0 0%
E 4 14.3%
Draw a bar chart to visualize this frequency distribution.
Solution
Step 1: To start, we’ll draw axes with the origin (the point where the axes meet) at the bottom left:
A blank bar chart with horizontal and vertical axes.
Step 2: Next, we’ll place our categories evenly spaced along the bottom of the horizontal axis. The order doesn’t really matter, but if the categories have some sort of natural order (like in this case, where the responses are labeled A to E), it’s best to maintain that order. We'll also label the horizontal axis:
A bar chart. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis is blank.
Step 3: Now, we have a decision to make: Will we use frequencies to define the height of our rectangles, or will we use proportions? Let’s try it both ways. First, let’s use frequencies. Notice that our frequencies run from zero to 14; this will correspond to the scale we put on the vertical axis. If we put a tick mark for every whole number between 0 and 14, the result will be pretty crowded; let’s instead put a mark on the multiples of 3 or 5:
A bar chart. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis representing frequency ranges from 3 to 15, in increments of 3.
Step 4: Now, let’s draw in the first rectangle. The frequency associated with “A” is 14. So we’ll go to 14 on the vertical axis, and place a mark at that height above the “A” label:
A bar chart plots a horizontal dashed line. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis representing frequency ranges from 3 to 15, in increments of 3. The bar chart infers the following data. A: 14.
Step 5: Then, draw vertical lines straight down from the edges of your mark to make a rectangle:
A bar chart shows a vertical bar. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis representing frequency ranges from 3 to 15, in increments of 3. The bar chart infers the following data. A: 14.
Step 6: Finally, we can build the rest of the rectangles, making sure that the bases all have the same length of the base = width of the rectangle, and the rectangles don’t touch. Notice that, since the frequency for “D” is zero, that category has no rectangle (but we’ll leave a space there so the reader can see that there is a category with frequency zero). Here’s the result:
A bar chart plots frequency versus responses. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis representing frequency ranges from 3 to 15, in increments of 3. The bar graph infers the following data. A: 14; B: 4; C: 6; E: 4.
Step 7: That’s it! Now, let’s use proportions instead of frequencies. We'll label the vertical axis with evenly spaced numbers that run the full range of the percentages in our table: 0% to 50%. We can divide that into five equal parts (so that each has width 10%), and use that to label our vertical axis:
A bar chart. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis representing percent ranges from 10 percent to 50 percent, in increments of 10.
Step 8: Then, we can fill in the rectangles just as we did before. The height of the “A” rectangle is 50%, the “B” rectangle goes up to 14.3%, “C” goes to 21.4%, there is no rectangle for “D” (since its proportion is 0%), and the “E” rectangle also goes up to 14.3%:
A bar chart plots percent versus responses on question 1. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis representing percent ranges from 10 percent to 50 percent, in increments of 10. The graph infers the following data. A: 50; B: 14.3; C: 21.4; E: 14.3. Note: all values are approximate.
Step 9: Notice that the rectangles are basically identical in our two final bar charts. That’s no coincidence! Bar charts that use proportions and those that use frequencies will always look identical (which is why it doesn’t really matter much which option you choose). Here’s why: look at the bars for “B” and “C”. The frequencies for these are 4 and 6 respectively. Notice that 6 is 50% bigger than 4 (since 6=1.5×4), which means that the “C” bar will be 50% higher than the “B” bar. Now look at the same bars using proportions: since 21.4%=1.5×14.3%, the bar for “C” will be 50% higher than the bar for “B.” The same relationships hold for the other bars, too.
A bar chart plots frequency and percent versus responses on question 1. The horizontal axis representing response on question 1 ranges from A to E. The vertical axis on the left representing frequency ranges from 3 to 15, in increments of 3. The vertical axis on the right representing percent ranges from 10 percent to 50 percent, in increments of 10. The graph infers the following data. A: 14, 50 percent; B: 4, 14.3 percent; C: 6, 21.4 percent; E: 4, 14.3 percent. Note: all values are approximate.
In practice, most graphs are now made with computers. You can use Google Sheets, which is available for free from any web browser.
Now that we’ve explored how bar graphs are made, let’s get some practice reading bar graphs.

Reading Bar Graphs

The bar graph shown gives data on 2020 model year cars available in the United States. Analyze the graph to answer the following questions.
A bar graph titled, 2020 model year cars available in the US. The horizontal axis represents cars. The vertical axis representing percent ranges from 0 to 50, in increments of 5. The graph infers the following data. Hatchback: 4; Minivan: 6; Sedan: 34; Sports: 10; SUV: 44; Wagon: 4. Note: all values are approximate.
(data source: consumerreports.org/cars)
  1. What proportion of available cars were sports cars?
  2. What proportion of available cars were sedans?
  3. Which categories of cars each made up less than 5% of the models available?
Solution
  1. The bar for sports cars goes up to 10%, so the proportion of models that are considered sports cars is 10%.
  2. The bar corresponding to sedan goes up past 30% but not quite to 35%. It looks like the proportion we want is between 33% and 34%.
  3. We’re looking for the bars that don’t make it all the way to the 5% line. Those categories are hatchback and wagon.

Pie Charts

A pie chart consists of a circle divided into wedges, with each wedge corresponding to a category. The proportion of the area of the entire circle that each wedge represents corresponds to the proportion of the data in that category. Pie charts are difficult to make without technology because they require careful measurements of angles and precise circles, both of which are tasks better left to computers.
Pie charts are sometimes embellished with features like labels in the slices (which might be the categories, the frequencies in each category, or the proportions in each category) or a legend that explains which colors correspond to which categories. When making your own pie chart, you can decide which of those to include. The only rule is that there has to be some way to connect the slices to the categories (either through labels or a legend).

Making Pie Charts

Use the data that follows to generate a pie chart.
(data source: www.consumerreports.org/cars)
Type Percent Type Percent
SUV 43.6% Minivan 5.5%
Sedan 33.6% Hatchback 3.6%
Sports 10.0% Wagon 3.6%
Solution
First, enter the chart above into a new sheet in Google Sheets. Next, click and drag to select the full table (including the header row). Click on the “Insert” menu, then select “Chart.” The result may be a pie chart by default; if it isn’t, you can change it to a pie chart using the “Chart type” drop-down menu in the Chart Editor.
A pie chart titled, 2020 model year cars available in the US. The circle graph infers the following data. SUV: 43.6 percentage; Sedan: 33.6 percentage; Sports: 10.0 percentage; Minivan: 5.5 percentage; Hatchback: 3.6 percentage; Wagon: 3.6 percentage.
(data source: consumerreports.org/cars)
You can choose to use a legend to identify the categories, as well as label the slices with the relevant percentages.

Visualizing Quantitative Data

There are several good ways to visualize quantitative data. In this section, we’ll talk about two types: stem-and-leaf plots and histograms.

Stem-and-Leaf Plots

Stem-and-leaf plots are visualization tools that fall somewhere between a list of all the raw data and a graph. A stem-and-leaf plot consists of a list of stems on the left and the corresponding leaves on the right, separated by a line. The stems are the numbers that make up the data only up to the next-to-last digit, and the leaves are the final digits. There is one leaf for every data value (which means that leaves may be repeated), and the leaves should be evenly spaced across all stems. These plots are really nothing more than a fancy way of listing out all the raw data; as a result, they shouldn’t be used to visualize large datasets.
This concept can be difficult to understand without referencing an example, so let’s first look at how to read a stem-and-leaf plot.

Reading a Stem-and-Leaf Plot

A collector of trading cards records the sale prices (in dollars) of a particular card on an online auction site, and puts the results in a stem-and-leaf plot:
0 5 8 9
1 0 0 0 3 4 4 5 5 5 5 6 9 9
2 0 0 0 0 5 5 9 9
3 0 0 0 5 5
4 0 0 5
5
6 0
Answer the following questions about the data:
  1. How many prices are represented?
  2. What prices represent the five most expensive cards? The five least expensive?
  3. What is the full set of data?
Solution
  1. Each leaf (the numbers on the right side of the bar) represents one data value. So, on the first row (which looks like 0 | 5 8 9), there are three data values (one for each leaf: 5, 8, and 9). The next row has thirteen leaves, then eight, five, three, zero, and one. Adding those up, we get 3+13+8+5+3+0+1=33 data points or prices.
  2. The most expensive card is the last one listed. Its stem is 6 and its leaf is 0, so the price is $60. There are no leaves associated with the 5 stem, so there were no cards sold for $50 to $59. The next most expensive cards are then on the 4 stem: $45, $40, and $40 (remember, repeated leaves mean repeated values in the dataset). So, we have our four most expensive cards. The fifth would be on the next stem up. The biggest leaf on the 3 stem is a 5, so the fifth-most expensive card sold for $35. As for the five least-expensive cards, the smallest stem is 0, with leaves 5, 8, and 9. So, the three least expensive cards sold for $5, $8, and $9 (notice that we don’t write down that leading 0 from the stem in the tens place). The next two least-expensive cards will be the two smallest leaves on the next stem: $10 and $10.
  3. The full list of data is: 5, 8, 9, 10, 10, 10, 13, 14, 14, 15, 15, 15, 15, 16, 19, 19, 20, 20, 20, 24, 25, 25, 29, 29, 30, 30, 30, 35, 35, 40, 40, 45, 60.
Stem-and-leaf plots are useful in that they give us a sense of the shape of the data. Are the data evenly spread out over the stems, or are some stems “heavier” with leaves? Are the heavy stems on the low side, the high side, or somewhere in the middle? These are questions about the distribution of the data, or how the data are spread out over the range of possible values.
Some words we use to describe distributions are uniform (data are equally distributed across the range), symmetric (data are bunched up in the middle, then taper off in the same way above and below the middle), left-skewed (data are bunched up at the high end or larger values, and taper off toward the low end or smaller values), and right-skewed (data are bunched up at the low end, and taper off toward the high end). See below figures.
Four histograms. The first histogram is titled, Uniform. The horizontal axis ranges from 0 to 5, in increments of 1. The vertical axis ranges from 0 to 60, in increments of 10. The histogram infers the following data. 0 to 1: 38. 1 to 2: 35. 2 to 3: 51. 3 to 4: 39. 4 to 5: 37. The second histogram is titled, Right-skewed. The horizontal axis ranges from 1 to 21, in increments of 2. The vertical axis ranges from 0 to 50, in increments of 10. The histogram infers the following data. 1 to 3: 18. 3 to 5: 40. 5 to 7: 44. 7 to 9: 37. 9 to 11: 29. 11 to 13: 14. 13 to 15: 8. 15 to 17: 5. 17 to 19: 3. 19 to 21: 2. The third histogram is titled, Left-skewed. The horizontal axis ranges from 30 to 50, in increments of 2. The vertical axis ranges from 0 to 60, in increments of 10. The histogram infers the following data. 30 to 32: 3. 32 to 34: 1. 34 to 36: 6. 36 to 38: 11. 38 to 40: 13. 40 to 42: 31. 42 to 44: 39. 44 to 46: 52. 46 to 48: 35. 48 to 50: 8. The fourth histogram is titled, Symmetric. The horizontal axis ranges from 30 to 180, in increments of 15. The vertical axis ranges from 0 to 80, in increments of 10. The histogram infers the following data. 30 to 45: 2. 45 to 60: 7. 60 to 75: 20. 75 to 90: 31. 90 to 105: 70. 105 to 120: 30. 120 to 135: 29. 135 to 150: 10. 150 to 165: 2. 165 to 180: 1. Note: all values are approximate.
Looking back at the stem-and-leaf plot in the previous example, we can see that the data are bunched up at the low end and taper off toward the high end; that set of data is right-skewed. Knowing the distribution of a set of data gives us useful information about the property that the data are measuring.
Now that we have a better idea of how to read a stem-and-leaf plot, we’re ready to create our own.

Constructing a Stem-and-Leaf Plot

An entomologist studying crickets recorded the number of times different crickets (of differing species, genders, etc.) chirped in a one-minute span. The raw data are as follows:
89 97 82 102 84 99 93 103 120 91
115 105 89 109 107 89 104 82 106 92
101 109 116 103 100 91 85 104 104 106
Construct a stem-and-leaf plot to visualize these results.
Solution
Step 1: Before we can create the plot, we need to sort the data in order from smallest to largest:
82 82 84 85 89 89 89 91 91 92
93 97 99 100 101 102 103 103 104 104
104 105 106 106 107 109 109 115 116 120
Step 2: Next, we identify the stems. To do that, we cut off the final digit of each number, which leaves us with stems of 8, 9, 10, 11, and 12. Arrange the stems vertically, and add the bar to separate these from the leaves:
8
9
10
11
12
Step 3: Write down the leaves on the right side of the bar, giving just the final digit (that we cut off to make the stems) of each data value. List these in order, and make sure they line up vertically:
8 2 2 4 5 9 9 9
9 1 1 2 3 7 9
10 0 1 3 3 4 4 4 5 6 6 7 9 9
11 5 6
12 0
As we mentioned above, stem-and-leaf plots aren’t always going to be useful. For example, if all the data in your dataset are between 20 and 29, then you’ll just have one stem, which isn’t terribly useful. (Although there are methods like stem splitting for addressing that particular problem, we won’t go into those at this time.) On the other end of the spectrum, the data may be so spread out that every stem has only one leaf. (This problem can sometimes be addressed by rounding off the data values to the tens, hundreds, or some other place value, then using that place for the leaves.) Finally, if you have dozens or hundreds (or more) of data values, then a stem-and-leaf plot becomes too unwieldy to be useful. Fortunately, we have other tools we can use.

Histograms

Histograms are visualizations that can be used for any set of quantitative data, no matter how big or spread out. They differ from a categorical bar chart in that the horizontal axis is labeled with numbers (not ranges of numbers), and the bars are drawn so that they touch each other. The heights of the bars reflect the frequencies in each bin. Unlike with stem-and-leaf plots, we cannot recreate the original dataset from a histogram. However, histograms are easy to make with technology and are great for identifying the distribution of our data. Let’s first create one histogram without technology to help us better understand how histograms work.

Constructing a Histogram

In worked example, we built a stem-and-leaf plot for the number of chirps made by crickets in one minute. Here are the raw data that we used then:
89 97 82 102 84 99
115 105 89 109 107 89
101 109 116 103 100 91
93 103 120 91 85 104
104 82 106 92 104 106
Construct a histogram to visualize these results.
Solution
Step 1: Add data to bins. Histograms are built on binned frequency distributions, so we’ll make that first. Luckily, the stem-and-leaf plot we made earlier can help us do this much more quickly:
8 2 2 4 5 9 9 9
9 1 1 2 3 7 9
10 0 1 2 3 3 4 4 4 5 6 6 7 9 9
11 5 6
12 0
If we’re using bins of width 10, we can compute the frequencies by counting the numbers of leaves associated with the corresponding stem:
Bin Frequency
80-89 7
90-99 6
100-109 14
110-119 2
120-129 1
(Note that, when we made binned frequency diagrams in the last module, we noted that if the biggest data value was right on the border between two bins, it was OK to lump it in with the lower bin. That’s not recommended when building histograms, so the data value 120 is all alone in the 120-129 bin.)
Step 2: Create the axes. On the horizontal axis, start labeling with the lower end of the first bin (in this case, 80), and go up to the higher end of the last bin (120). Mark off the other bin boundaries, making sure they’re all evenly spaced. On the vertical axis, start with zero and go up at least to the greatest frequency you see in your bins (14 in this example), making sure that the labels you make are evenly spaced and that the difference between those numbers is the same. Let’s count off our vertical axis by threes:
A histogram. The horizontal axis ranges from 80 to 130, in increments of 10. The vertical axis ranges from 0 to 15, in increments of 3.
Step 3: Draw in the bars. Remember that the bars of a histogram touch, and that the heights are determined by the frequency. So, the first bar will cover 80 to 90 on the horizontal axis, and have a height of 7:
A histogram shows a vertical bar. The horizontal axis ranges from 80 to 130, in increments of 10. The vertical axis ranges from 0 to 15, in increments of 3.The histogram infers the following data. 80 to 90: 7.
Now, we can fill in the others:
A bar chart plots frequency versus number of chirps. The horizontal axis ranges from 80 to 130, in increments of 10. The vertical axis ranges from 0 to 15, in increments of 3.The histogram infers the following data. 80 to 90: 7. 90 to 100: 6. 100 to 110: 14. 110 to 120: 2. 120 to 130: 1.
Step 4: Let’s compare the histogram we just created to the stem-and-leaf plot we made earlier:
A bar chart and a stem-and-leaf plot. The stem-and-leaf plot infers the following data. 8: 2, 2, 4, 5, 9, 9, 9. 9: 1, 1, 2, 3, 7, 9. 10: 0, 1, 1, 3, 3, 4, 4, 4, 5, 6, 6, 7, 9, 9. 11: 5, 6. 12: 0. The horizontal axis of the histogram ranges from 80 to 130, in increments of 10. The vertical axis ranges from 0 to 15, in increments of 3.The histogram infers the following data. 80 to 90: 7. 90 to 100: 6. 100 to 110: 14. 110 to 120: 2. 120 to 130: 1.
Notice that the leaves on the rotated stem-and-leaf plot match the bars on our histogram! We can view stem-and-leaf plots as sideways histograms. But, as we’ll see soon, we can do much more with histograms.
Now that we’ve seen the connection between stem-and-leaf plots and histograms, we are ready to look at how we can use Google Sheets to build histograms.
Let’s use Google Sheets to create a histogram for a large dataset.

Creating a Histogram in Google Sheets

The data in “AvgSAT” contains the average SAT score for students attending every institution of higher learning in the US for which data is available. Create a histogram in Google Sheets of the average SAT scores. Use bins of width 50. Are the data uniformly distributed, symmetric, left-skewed, or right-skewed?
Solution
Using the procedure described in the video above, we get this:
A histogram titled, average SAT scores at US institutions. The horizontal axis representing average SAT ranges from 750 to 1600, in increments of 50. The vertical axis representing frequency ranges from 0 to 300, in increments of 100. The histogram infers the following data. 750 to 800: 4. 800 to 850: 5. 850 to 900: 15. 900to 950: 25. 950 to 1000: 85. 1000 to 1050: 170. 1050 to 1100: 230. 1100 to 1150: 275. 1150 to 1200: 275. 1200 to 1250: 110. 1250 to 1300: 70. 1300 to 1350: 50. 1350 to 1400: 40. 1400 to 1450: 40. 1450 to 1500: 20. 1500 to 1550: 20. 1550 to 1600: 5. Note: all values are approximate.
(data source: https://data.ed.gov)
The data are fairly symmetric, but slightly right-skewed.

Bar Charts for Labeled Data

Sometimes we have quantitative data where each value is labeled according to the source of the data. For example, in the Your Turn above, you looked at in-state tuition data. Every value you used to create that histogram was associated with a school; the schools are the labels. In YOUR TURN 8.11, you found a histogram of the wins of every Major League Baseball team in 2019. Each of those win totals had a label: the team. If we’re interested in visualizing differences among the different teams, or schools, or whatever the labels are, we create a different version of the bar graph known as a bar chart for labeled data.
These graphs are made in Google Sheets in exactly the same way as regular bar graphs. The only change is that the vertical axis will be labeled with the units for your quantitative data instead of just “Frequency.”

Building a Bar Chart for Labeled Data

The following table shows the gross domestic product (GDP) for the United States for the years 2010 to 2019:
(source: https://data.worldbank.org)
Year GDP (in $ trillions) Year GDP (in $ trillions)
2010 14.992 2015 18.225
2011 15.543 2016 18.715
2012 16.197 2017 19.519
2013 16.785 2018 20.580
2014 17.527 2019 21.433
Construct a histogram that represents these data.
Solution
In this case, the years are the labels, and the data we are interested in are the GDP numbers. Once you have the table above (including the labels) entered into a spreadsheet, click and drag to select the full table. Then, in the “Insert” menu, click “Chart.” The result may not be a bar chart; if it’s not, select “Column chart” in the drop-down menu “Chart type” in the Chart Editor. If you want, you can edit things like the chart title in the “Customize” tab in the Chart Editor.
A bar graph titled, Unites States GDP, 2010 to 2019. The horizontal axis representing the year ranges from 2010 to 2019, in increments of 1. The vertical axis represents GDP in trillion dollars. The bar graph infers the following data. 2010: 15. 2011: 15.5. 2012: 16. 2013: 17. 2014: 17.5. 2015: 18. 2016: 19. 2017: 19.5. 2018: 20.5. 2019: 21. Note: all values are approximate.
(data source: https://data.worldbank.org)