Histogram

A visual interpretation of numerical data showing the number of data points falling within a specified range of values

Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets.

What is a Histogram?

A histogram[1] is used to summarize discrete or continuous data. In other words, it provides a visual interpretation of numerical data by showing the number of data points that fall within a specified range of values (called “bins”). It is similar to a vertical bar graph. However, a histogram, unlike a vertical bar graph, shows no gaps between the bars.

Histogram

Key Highlights

  • ​​A histogram is a visual representation of numerical data, showing the number of data points that fall within a specified range of values.
  • The range of values is visually demonstrated through vertical rectangles, otherwise known as a vertical bar graph.
  • The x-axis, or width, of the rectangles in a vertical bar graph within a histogram shows the scale of values that the measurements fall under. The y-axis, or height, of the rectangles shows the number of times that the values occurred within the intervals set by the x-axis.   

Parts of a Histogram

  1. The title: The title describes the information included in the histogram.
  2. X-axis: The X-axis are intervals that show the scale of values which the measurements fall under.
  3. Y-axis: The Y-axis shows the number of times that the values occurred within the intervals set by the X-axis.
  4. The bars: The height of the bar shows the number of times that the values occurred within the interval, while the width of the bar shows the interval that is covered. For a histogram with equal bins, the width should be the same across all bars.

Importance of a Histogram

Creating a histogram provides a visual representation of data distribution. Histograms can display a large amount of data and the frequency of the data values. The median and distribution of the data can be determined by a histogram. In addition, it can show any outliers or gaps in the data.

Distributions of a Histogram

A normal distribution: In a normal distribution, points on one side of the average are as likely to occur as on the other side of the average.

Normal Distribution Histogram

A bimodal distribution: In a bimodal distribution, there are two peaks. In a bimodal distribution, the data should be separated and analyzed as separate normal distributions.

Bimodal Distribution Histogram

 

A right-skewed distribution: A right-skewed distribution is also called a positively skewed distribution. In a right-skewed distribution, a large number of data values occur on the left side with a fewer number of data values on the right side. A right-skewed distribution usually occurs when the data has a range boundary on the left-hand side of the histogram. For example, a boundary of 0.

Right-skewed Distribution Histogram

A left-skewed distribution: A left-skewed distribution is also called a negatively skewed distribution. In a left-skewed distribution, a large number of data values occur on the right side with a fewer number of data values on the left side. A right-skewed distribution usually occurs when the data has a range boundary on the right-hand side of the histogram. For example, a boundary such as 100.

Left-skewed Distribution Histogram

 

A random distribution: A random distribution lacks an apparent pattern and has several peaks. In a random distribution histogram, it can be the case that different data properties were combined. Therefore, the data should be separated and analyzed separately.

Random Distribution Histogram

Example of a Histogram

Jeff is the branch manager at a local bank. Recently, Jeff’s been receiving customer feedback saying that the wait times for a client to be served by a customer service representative are too long. Jeff decides to observe and write down the time spent by each customer on waiting. Here are his findings from observing and writing down the wait times spent by 20 customers:

Histogram Data - Example

The corresponding histogram with 5-second bins (5-second intervals) would look as follows:

Histogram - Example

We can see that:

  • There are 3 customers waiting between 1 and 35 seconds
  • There are 5 customers waiting between 1 and 40 seconds
  • There are 5 customers waiting between 1 and 45 seconds
  • There are 5 customers waiting between 1 and 50 seconds
  • There are 2 customers waiting between 1 and 55 seconds

 

Jeff can conclude that the majority of customers wait between 35.1 and 50 seconds.

How to Create a Histogram

Let us create our own histogram. Download the corresponding Excel template file for this example.

Step 1: Open the Data Analysis box. This can be found under the Data tab as Data Analysis:

Creating a Histogram - Step 1

Step 2: Select Histogram:

Creating a Histogram - Step 2

Step 3: Enter the relevant input range and bin range. In this example, the ranges should be:

  • Input Range: $C$10:$D$19
  • Bin Range: $F$9:$F$24

Make sure that “Chart Output” is checked and click “OK”.

Creating a Histogram - Step 3

Download the Template Example to make one on your own!

Related Readings

Thank you for reading CFI’s guide on Histogram. To keep learning and advancing your career, the following resources will be helpful:

Article Sources

  1. Histogram
0 search results for ‘