For Example:


Terms related to the concept of Histograms:
A range of values (like 0–10, 10–20) into which data is grouped.
The number of data points that fall into a particular class interval.
Used when class widths are unequal.
The difference between the upper and lower boundary of a class.
Example: For 10 –20, the class width is 10.
Steps to Work It Out:
This is how many values fall into each class interval.
Class Width = (Upper Limit−Lower Limit)
Divide frequency by class width for each class
Example Table:
Example: Construct a histogram for the following data.

Step #1: Identify the Frequency:
Step #2: Find the Class Width:
Class Width = (Upper Limit−Lower Limit)
Class Width-

Let us take a note that there is no need to calculate Frequency density when class width of each and every interval comes out to be same.
Step #3: Use the Formula:

Example: Construct a histogram for the following data.
Step #1: Identify the Frequency:
Step #2: Find the Class Width:
Class Width = (Upper Limit−Lower Limit)
Step #3: Use the Formula:


Problem: A class of 30 students took a math exam (max score = 100). Construct a histogram for the following data and analyze the distribution:
[45, 72, 68, 90, 53, 81, 75, 62, 58, 77, 82, 64, 88, 92, 78, 60, 85, 70, 95, 50, 63, 71, 65, 55, 80, 73, 67, 79, 83, 69]
Solution:
Step #1: We will firstly make the Frequency table:
Step #2: Let us now draw the respective histogram by the help of frequency table.
Problem: A store recorded daily sales (in $) for 20 days:Create a histogram and analyze spending trends.
[120, 85, 150, 200, 95, 130, 180, 75, 160, 110, 140, 90, 170, 105, 125, 115, 155, 80, 190, 100]
Solution:
Step #1: We will firstly make the Frequency table:
Step #2: Let us now draw the respective histogram by the help of frequency table.
Problem: The histogram below shows information about the time tt seconds taken for students to complete a 400m race.
How many students ran 400m in under 90 seconds?
Step #1: Locate the frequency density for the class interval(s).


Step #2: Determine the class width for the class interval(s).


Step #3: Use the frequency density formula to determine the frequency.
To calculate the frequency in both of these class intervals, we must work out the frequency in each class separately, then add them together at the end.
The frequency density formula is

As D=0.5 and W=30, for the interval 60 ≤ t < 90, we can substitute these values into the formula and solve for Frequency.

The frequency of students who ran 400m in under 90 seconds is-
15 + 6 = 21 students.