Statistics and probability
- Representing data
- Frequency tables & dot plots
- Creating frequency tables
- Creating dot plots
- Reading dot plots & frequency tables
- Dot plots and frequency tables review
- Creating a histogram
- Interpreting a histogram
- Create histograms
- Read histograms
- Histograms review
- Stem-and-leaf plots
- Reading stem and leaf plots
- Reading stem and leaf plots
- Stem and leaf plots review
A histogram displays numerical data by grouping data into "bins" of equal width. Each bin is plotted as a bar whose height corresponds to how many data points are in that bin.
Bins are also sometimes called "intervals", "classes", or "buckets".
Reading a histogram
The heights of the bars tell us how many data points are in each bin.
For example, this histogram says that Leonard's patch has pumpkins whose mass is between and kilograms.
A histogram plots Number of pumpkins, versus Mass, in kilograms, from 0 to 15, in increments of 3. Bar heights are approximately as follows. From 0 to 3, 4. From 3 to 6, 5. From 6 to 9, 8. From 9 to 12, 6. From 12 to 15, 2.
Want to learn more about reading histograms? Check out this video.
Want to practice some more problems like this? Check out this exercise.
Creating a histogram
Below are the lengths (in meters) of Luiza's drives from the last time that she played golf.
Here's how to make a histogram of this data:
Step 1: Decide on the width of each bin. If we go from to using bins with a width of , we can fit all of the data in bins.
There is no strict rule on how many bins to use—we just avoid using too few or too many bins.
Step 2: Count how many data points fall in each bin.
|Driving distance (in meters)||Data points||Number of drives|
Step 3: Scale the -axis from to using intervals of width . Label the -axis "driving distance (meters)".
Step 4: Scale the -axis up to —or something just past it—since that will be the highest bar.
Step 5: Draw a bar for each interval so its height matches the number of drives in that interval.
A histogram plots Number of drives, versus Driving distance, in meters, from 0 to 250, in increments of 50. Bar heights are approximately as follows. From 0 to 50, 1. From 50 to 100, 1. From 100 to 150, 2. From 150 to 200, 3. From 200 to 250, 1.
Want to learn more about making histograms? Check out this video.
Want to try some problems like this? Check out this exercise.
Want to join the conversation?
- Which is the difference between a Histogram and a bar graph? for what we use each of them?, what we are compering in each one?(19 votes)
- the difference is that a histogram is a graph with ranges and bar graph is exact.(5 votes)
- Is a histogram simply a bar graph with a range quantities for each bar, or is there another reason? I also noticed that in all of the histograms the bars are connected, or touching one another. Does that have something to do with it?(8 votes)
- In Histogram you are actually using continuous data rather than categorical data.(15 votes)
- How do you take the variance of a Histogram? I am a little confused as to how to find the mean of multiple buckets. More specifically which numbers do you use of the range of the bucket to find the mean and subsequently the variance and standard deviation of a data set given only in histogram form?(3 votes)
- For mean, take the midpoint(M) of every bucket and multiply it with the frequency(f). Take the sum of all these (f.M) and divide it by the sum of frequencies. So mean will be Σf.M/Σf.(5 votes)
- I am confused regarding "histogram used for continous data" at some places i have read that it is graph drawn (line joining the topmost mid section reading of all intervals)(1 vote)
- A histogram shows the frequency of data. It has intervals at the x- axis and the frequency at the y- axis. I believe what you are suggesting might be referred to as a line graph? Histograms don't exactly show continuous data, but they definitely show frequency. Hope that helped! Happy Learning!(6 votes)
- are these histograms the same as bar graphs(2 votes)
- Histograms are very similar to bar graphs, but there are some differences. Histograms show numerical data whereas bar graphs show categorical data. Also bar graphs have spacing between the bars, and histograms don't have spacing.(5 votes)
- What is the main difference between a Histogram and a bar graph?(3 votes)
- I think the difference is bar graph uses signal kind of date , histogram uses group of data and group them in pens(2 votes)
- what are the overall distinction among all graphs. how many graph methods are there actually?(3 votes)
- No It's a histogram, Look up histograms on khan academy and click on creating histograms and it will help you understand.(2 votes)
- can we choose whether to use a histogram or bar graph or do we have to have a specific one for a specific thing?(2 votes)
- both are used for specific purposes....like if u have 100 data to be plotted....u'll need 100 bar graphs to represent it(one for each)...However, if u use a histogram and create a 5 buckets or bins as mentioned above....each of 0-19 intervals, u'll be able to represent the same data with just 5 bars in the histogram,thus reducing your plight. :)(4 votes)
- What are you supposed to do? I'm very confused.(2 votes)
- histogram works for arranging the data in a form of graph which allows you to show distribution of variables such as 0-10 people(in no.) are literate and 11-20 people are illiterate, whereas, a bar graph allows you to compare the variables.For eg - restaurant 'A' has 33 cooks and restaurant 'B' has 53 cooks(3 votes)
- I remember my university teacher recommended using the square root of n where n is the number of data points when picking the number of bins. It seemed to work out well for larger datasets(2 votes)