Bar Graphs and Histogram

Bookmark added to your notes.
View Notes

What is a Bar Graph?

A bar chart is  basically made up of columns that is plotted on a graph. Here is how you can read a bar chart.

  • The columns that are positioned over a label are used to represent a categorical variable.

  • The height of the column in the bar graph indicates the size of the group defined by the label of the column.

The bar chart below shows average household income for the four "New" states that are- New Jersey, New Hampshire,New York and New Mexico.

[Image will be Uploaded Soon]

The chart shows that per capita income is highest in New Jersey; lowest, in New Mexico.

NOTE: Bar graphs are usually used to display "categorical data", that is known as the data that fits into categories.


Bar Graph Definition

The pictorial representation of a grouped data, in the form of horizontal or vertical rectangular bars, where the lengths of the bars are equal to the measure of data, are known as bar graphs or bar charts.

The bars that we draw are of uniform width and the variable quantity can be represented on one of the axes. Also, the measure of the variable can be depicted on the other axes. 

The lengths or heights of the bars generally denote the value of the variable and these graphs can also be used to compare certain quantities. The frequency distribution tables can be easily represented using bar charts which simplify the calculations and understanding of data.


Types of Bar Charts

The bar graphs can be vertical or horizontal. The primary feature of a bar graph is its height. If the length of the bar graph is more, then the values are greater of any given data.

Bar graphs normally show categorical and numeric variables arranged in class intervals. They consist of an axis and a series of labelled horizontal or vertical bars. The bars represent frequencies of distinctive values of a variable or commonly the distinct values themselves. The number or values on the x-axis of a bar graph or the y-axis of a column graph are called the scale.

The Types of Bar Charts are as Follows:

  1. Vertical bar chart

  2. Horizontal bar chart

  3. Range bar chart

Uses of Bar Graphs

1) Bar graphs can be used to match things between different groups or to trace changes over time. 

2) Bar graphs are most suitable when the changes are bigger in case of time estimation.

What is a Histogram and Why Use a Histogram Instead of a Bar Graph?

why use a histogram instead of a bar graph:- A histogram is made up of columns that can be plotted on a graph. There is no space between the adjacent columns. Here is how you can read a histogram.

  • The columns are positioned over a label that is used to represent a continuous, quantitative variable.

  • The column label can be a range of values or a single value.

  • The height of the column of the histogram indicates the size of the group which is defined by the column label.

The above three points show us about “why use a histogram instead of a bar graph”.


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, a diagram involving rectangles whose area is proportional to the frequency of a variable and width is equal to the class interval.

The histogram given below shows per capita income for mainly five age groups.

[Image will be Uploaded Soon]

We can see from the chart that per capita income is the greatest in the 45 to 54 age group.


A Histogram is Used for Which Type of Data?

Histograms can be used to present "continuous data '', that is basically data that represents measured quantity where the numbers can take on any value in a certain range. A good example can be weight. 


Histogram Types

Let us discuss the different types of histograms here. The following are the different types:

Uniform Histogram

[Image will be Uploaded Soon]

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

[Image will be Uploaded Soon]

If a histogram has two peaks, it is said to be bimodal.


Symmetric Histogram

[Image will be Uploaded Soon]

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. 


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. 


Key Difference Between Bar Graphs and Histogram (Bar graph vs histogram)

Bar graph vs histogram can be drawn clearly on the following grounds given below:

  1. Histogram basically refers to a graphical representation; that displays data by way of bars to show the frequency of numerical data. A bar graph is known to be a pictorial representation of data that uses bars to compare different categories of data.

  2. A histogram represents the frequency distribution of continuous variables. Whereas a  bar graph is a diagrammatic comparison of discrete variables.

  3. Histograms present numerical data but bar graphs show categorical data.

  4. The histogram is drawn in a way such that there is no gap between the bars. There needs to be proper spacing between bars in a bar graph which indicates discontinuity.

  5. The items of the histogram are numbers, which can be categorised together, to represent any range of data. In the bar graph, items are considered as individual entities.

  6. In the case of a bar graph, it is quite common to rearrange the blocks, from highest to lowest. But with histogram, this cannot be done, as they are shown in the sequences of classes.

  7. The width of rectangular blocks in a histogram may or may not be the same while the width of the bars in a  bar graph is always the same.

All the points above demonstrate the bar graph vs histogram in a clear manner.

Questions to be Solved:

1) Consider the Histograms Below.

[Image will be Uploaded Soon]

Which of the Following Statements are True?

I. Both data sets are symmetric.

II. Labels on the X-axis are quantitative.

(A) I only

(B) II only

(C) I and II

(D) Neither is true.

(E) There is insufficient information.



The correct answer is (C). Both the histograms that are given have mirror images around their center, and both are symmetric in nature. With bar charts, the labels on the X-axis are categorical in nature; with histograms, the labels are quantitative in nature. Both of the given charts are histograms. Therefore, the labels are quantitative.

FAQ (Frequently Asked Questions)

Question 1: What is the Difference Between Bar Graphs and Histograms?

Answer: The difference between bar graph and histogram:- Histograms are used to show distributions of variables while bar charts are used to compare variables. Histograms are used to plot quantitative data with ranges of the data that are grouped into bins or intervals while bar charts plot categorical data.

Question 2: What are the Similarities and Differences Between a Bar Graph and a Histogram?

Answer: A histogram represents the frequency distribution of continuous variables. But a bar graph can be defined as a diagrammatic comparison of discrete variables. The histogram presents numerical data whereas bar graphs show categorical data. We draw the histogram in such a way that there is no gap or space between the bars.

Question 3: What is a Double Bar Graph?

Answer: A double bar graph is a graphical display of information using two bars beside each other at various heights. The bars can be arranged vertically or horizontally. A double bar graph can also be used to compare two data groups. A double bar graph has two axes

Question 4: Why Does a Histogram Have No Gaps?

Answer: It is used to summarize discrete or continuous data that are measured on an interval scale. A histogram has an appearance that is similar to a vertical bar graph, but when the variables are continuous, there are no gaps between the bars. When the variables are given are discrete, however, gaps should be left between the bars.