## How to plot a histogram

When plotting a histogram, there is an x and y-axis. The x-axis represents the variable that is being measured and the y-axis represents the frequency density. The frequency density is the height of each bar on your histogram and can be calculated by dividing the frequency by the class width:

$frequencydensity=\frac{frequency}{classwidth}$

All of the information needed to calculate the frequency density will be found in a table of data.

The table represents the time taken in minutes for two PE classes of 30 students to complete a cross country course.

Time, t (minutes) | 30≤t<40 | 40≤ t<45 | 45≤ t<55 | 55≤ t<60 | 60≤ t<65 |

Frequency | 6 | 16 | 18 | 12 | 8 |

As this is grouped data, you are able to plot it onto a histogram. The first step would be to find the frequency density for each class, and this can be done by creating a new table and completing a few calculations:

Time, t (minutes) | Frequency | Class Width | Frequency Density |

30≤ t<40 | 6 | 10 | 0.6 |

40≤ t<45 | 16 | 5 | 3.2 |

45≤ t<55 | 18 | 10 | 1.8 |

55≤ t<60 | 12 | 5 | 2.4 |

60≤ t<65 | 8 | 5 | 1.6 |

The class width can be calculated by subtracting the lower boundary from the upper boundary, for example, $40-30=10$.

The frequency density is calculated by dividing the frequency by the class width, for example, $6\xf710=0.6$.

Now that you have found the frequency density for each of the class boundaries, you can plot your histogram.

When plotting a histogram, you need to use the data from the time, *t*, minutes column of the table and the frequency density column of the table.

From this information on the histogram you are also able to create a frequency polygon. To do this you add a line from the middle of each bar on your histogram, and this is shown below.

Read more about Frequency Polygons.

## How to interpret a histogram

When thinking about histograms it is not only important to be able to create your own, but also to understand and interpret one that you are given.

The histogram below shows the test results as a percentage from a group of students' mathematics exam.

Here are a set of questions that you can answer from the histogram above:

How many students scored between 75% and 85% on the exam?

How many students scored between 60% and 70% on the exam?

How many students scored 80% or more on the exam?

How many students took the exam in total?

Now let's work through each question together!

How many students scored between 75% and 85% on the exam?

First, you start by looking at the histogram. You need to find the area of the bars between 75 and 85, and they are shaded below:

To find the shaded area we can simply multiply the height by the width:

$10\times 1=10$

Therefore we know that 10 students scored between 75% and 85%.

2. How many students scored between 60% and 70% on the exam?

This can be done in the same way, let's start by shading the area needed on the graph:

For this area, you will need to break it down into two parts since you are looking at two different bars:

$5\times 1=5$

$5\times 3=15$

$5.5+15=20.5$This shows you that around 20 students scored between 60% and 70% on the exam.

3. How many students scored 80% or more on the exam?

Once again let's start by shading the area that is needed, for this question you need to shade everything over 80%:

This question again needs to be broken down into two parts:

$5\times 1=5$

$15\times 0.6=9$

$5+9=14$This shows that 14 of the students scored 80% or more on the exam.

4. How many students took the exam in total?

For this question, you need to find the area of each bar, your shaded area will now look like this:

You will need to find the area for each bar and add them all together to find the total number of students:

$5\times 1.2=6\phantom{\rule{0ex}{0ex}}10\times 0.4=4\phantom{\rule{0ex}{0ex}}10\times 1=10\phantom{\rule{0ex}{0ex}}5\times 3=15\phantom{\rule{0ex}{0ex}}5\times 3.2=16\phantom{\rule{0ex}{0ex}}10\times 1=10\phantom{\rule{0ex}{0ex}}15\times 0.6=9$

Now you can add them all together to find the total number of students.

$6+4+10+15+16+10+9=70$

## Histograms - Key takeaways

A histogram is a type of graph that represents grouped data.

Frequency density is used to plot a histogram, and it is calculated by dividing the frequency by the class width.

###### Learn with 2 Histograms flashcards in the free StudySmarter app

We have **14,000 flashcards** about Dynamic Landscapes.

Already have an account? Log in

##### Frequently Asked Questions about Histograms

What is a histogram?

A histogram is a type of graph that represents grouped data.

What is a histogram used for?

A histogram is often used to visually show data, as it uses the frequency density, you are able to see how the variable ranges.

How do you draw a histogram?

A histogram can be drawn by calculating the frequency density, then plotting the frequency density and the class boundaries.

##### About StudySmarter

StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.

Learn more