S3-SA5-0418
What is a Histogram (Graphical)?
Grade Level:
Class 10
AI/ML, Data Science, Physics, Economics, Cryptography, Computer Science, Engineering
Definition
What is it?
A histogram is a special type of bar graph that shows how frequently different values fall into specific ranges. It helps us understand the distribution of numerical data by grouping it into 'bins' and showing the count in each bin.
Simple Example
Quick Example
Imagine you recorded the daily temperatures in your city for a month. A histogram could show you how many days the temperature was between 20-25 degrees Celsius, how many days it was 26-30 degrees, and so on. This quickly tells you the most common temperature ranges.
Worked Example
Step-by-Step
Let's create a histogram for the marks obtained by 20 students in a math test out of 50:
Marks: 25, 30, 15, 40, 35, 28, 20, 45, 32, 18, 22, 38, 27, 33, 12, 42, 29, 36, 24, 31
1. First, decide on the 'class intervals' or 'bins'. Let's use intervals of 10: 10-20, 20-30, 30-40, 40-50.
---
2. Next, count how many marks fall into each interval (frequency).
- 10-20: 15, 18, 12 (3 students)
- 20-30: 25, 28, 20, 22, 27, 29, 24 (7 students)
- 30-40: 30, 35, 32, 38, 33, 36, 31 (7 students)
- 40-50: 40, 45, 42 (3 students)
---
3. Now, draw your x-axis (horizontal) and label it 'Marks'. Mark the class intervals: 10, 20, 30, 40, 50.
---
4. Draw your y-axis (vertical) and label it 'Number of Students' (Frequency). Choose a suitable scale, e.g., 1 unit = 1 student.
---
5. For each interval, draw a rectangular bar. The width of the bar should be equal to the class interval (e.g., from 10 to 20), and its height should be equal to the frequency for that interval.
---
6. The bars in a histogram touch each other to show continuous data. For 10-20, height is 3; for 20-30, height is 7; for 30-40, height is 7; for 40-50, height is 3.
---
ANSWER: The histogram will show three bars of height 3, two bars of height 7, and one bar of height 3, representing the frequency of marks in each range.
Why It Matters
Histograms are super useful for quickly seeing patterns in large datasets, like how many people fall into different age groups or income brackets. They are fundamental in Data Science, AI/ML for understanding data distribution, and even in Economics to visualize wealth distribution, helping people make better decisions.
Common Mistakes
MISTAKE: Drawing gaps between bars in a histogram. | CORRECTION: The bars in a histogram must always touch each other, as the data is continuous.
MISTAKE: Using unequal width bars when class intervals are of different sizes without adjusting frequency density. | CORRECTION: For equal class intervals, bars have equal width. If intervals are unequal, the height of the bar should represent 'frequency density' (frequency / class width), not just frequency.
MISTAKE: Confusing a histogram with a bar graph. | CORRECTION: A histogram is for continuous numerical data grouped into ranges, with touching bars. A bar graph is for categorical or discrete data, and its bars usually don't touch.
Practice Questions
Try It Yourself
QUESTION: What is the main difference between a bar graph and a histogram? | ANSWER: A histogram displays continuous data in intervals with no gaps between bars, while a bar graph displays discrete or categorical data with gaps between bars.
QUESTION: A survey recorded the heights of 50 students. If a histogram is made with class intervals of 10 cm (e.g., 140-150 cm, 150-160 cm), what does the height of each bar represent? | ANSWER: The height of each bar represents the number of students whose height falls within that specific 10 cm interval.
QUESTION: The ages of 25 people attending a workshop are: 18, 22, 25, 20, 30, 35, 28, 23, 19, 21, 26, 32, 38, 24, 29, 31, 27, 33, 20, 25, 30, 26, 22, 34, 21. Create a frequency table with class intervals 18-22, 23-27, 28-32, 33-38. (Note: The first interval includes 18 and 22, second includes 23 and 27, and so on. This is an inclusive interval type.) | ANSWER: Class Interval | Frequency
18-22 | 7
23-27 | 9
28-32 | 6
33-38 | 3
MCQ
Quick Quiz
Which of the following statements is TRUE about a histogram?
The bars in a histogram always have gaps between them.
A histogram is used to represent categorical data.
The width of the bars in a histogram must always be equal.
A histogram represents continuous numerical data grouped into class intervals.
The Correct Answer Is:
D
Option D is correct because histograms are specifically designed for continuous numerical data, which is grouped into ranges (class intervals). The bars touch because the data is continuous. Options A and B describe bar graphs, and while bar widths can be equal, they don't have to be if frequency density is used for unequal intervals.
Real World Connection
In the Real World
In cricket analytics, a histogram can show how many runs a batsman scored in different score ranges (e.g., 0-10, 11-20, 21-30 runs) over a season. This helps coaches and analysts understand batting patterns and identify strengths or weaknesses. Similarly, e-commerce companies use histograms to see how many customers spend within certain price ranges.
Key Vocabulary
Key Terms
CLASS INTERVAL: A range of values used to group data in a histogram. | FREQUENCY: The number of times a particular value or range of values appears in a dataset. | CONTINUOUS DATA: Data that can take any value within a given range, like height or temperature. | X-AXIS: The horizontal axis of a graph, often representing the class intervals in a histogram. | Y-AXIS: The vertical axis of a graph, often representing the frequency in a histogram.
What's Next
What to Learn Next
Great job understanding histograms! Next, you should explore 'Frequency Polygons' and 'Ogive (Cumulative Frequency Curve)'. These concepts build directly on histograms to provide even more ways to visualize and interpret data distributions.


