Are histograms related to bar charts?



Are histograms related to bar charts?


Although they appear somewhat similar, histograms and bar charts are different and serve specific purposes.


Histograms are used for graphing a distribution of frequencies, for quantitative data.

Visually, all the bars are usually touching, with no space between them.

The bars represent the amount of values in the dataset that fall between each ‘bin’ or range of values. For example, each bin might show the number of people within certain age ranges (10-20, 20-30, …).

Bar chart

Bar charts are used to group data based on categories.

Visually, these are usually spaced apart.

Each bar represents how much of the data falls into a category. For example, a bar chart might show how many students there are per major in a university, where each major is a “category”.