 # Histogram

Statistics is a stream of mathematics that is applied in various fields. When numerals are repeated in statistical data, this repetition is known as Frequency and which can be written in the form of a table, called a frequency distribution. A Frequency distribution can be shown graphically by using different types of graphs and Histogram is one among them.

## What is Histogram?

A histogram is an area diagram. It can be defined as a set of rectangles with bases along with the intervals between class boundaries and with areas proportional to frequencies in the corresponding classes. In such representations, all the rectangles are adjacent since the base covers the intervals between class boundaries. The heights of rectangles are proportional to corresponding frequencies of similar classes and for different classes, the heights will be proportional to corresponding frequency densities.

In other words, histogram a diagram involving rectangles whose area is proportional to the frequency of a variable and width is equal to the class interval.

## How to Make Histogram?

You need to follow the below steps to construct a histogram.

1. Begin by marking the class intervals on the X-axis and frequencies on the Y-axis.
2. The scales for both the axes have to be same.
3. Class intervals need to be exclusive.
4. Draw rectangles with bases as class intervals and corresponding frequencies as heights.
5. A rectangle is built on each class interval since the class limits are marked on the horizontal axis, and the frequencies are indicated on the vertical axis.
6. The height of each rectangle is proportional to the corresponding class frequency if the intervals are equal.
7. The area of every individual rectangle is proportional to the corresponding class frequency if the intervals are unequal.

Although histograms seem similar to graphs, there is a slight difference between them. The histogram does not involve any gaps between the two successive bars.

## Difference Between Histogram And Bar Graph

The difference between the histogram and the bar graph is given below:

 Histogram Bar Graph It is a two-dimensional figure It is a one-dimensional figure The frequency is shown by the area of each rectangle The height shows the frequency and the width has no significance. It shows rectangles touching each other It consists of rectangles separated from each other with equal spaces.

## Histogram Types

The following are the different types of histograms:

### Uniform Histogram A uniform distribution reveals that the number of classes is too small, and each class has the same number of elements. It may involve distribution that has several peaks.

### Bimodal Histogram If a histogram has two peaks, it is said to be bimodal. Bimodality occurs when the data set has observations on two different kinds of individuals or combined groups if the centres of the two separate histograms are far enough to the variability in both the data sets.

### Symmetric Histogram When you draw the vertical line down the centre of the histogram, and the two sides are identical in size and shape, the histogram is said to be symmetric. The diagram is perfectly symmetric if the right half portion of the image is similar to the left half. The histograms that are not symmetric are known as skewed.

### Probability Histogram

A Probability Histogram shows a pictorial representation of a discrete probability distribution. It consists of a rectangle centred on every value of x, and the area of each rectangle is proportional to the probability of the corresponding value. The probability histogram diagram is begun by selecting the classes. The probabilities of each outcome are the heights of the bars of the histogram. To know more about histograms graphs and other statistical concepts, visit BYJU’S -The Learning App today!