What is the difference between a box plot and a histogram?

Histograms and box plots are graphical representations for the frequency of numeric data values. They aim to describe the data and explore the central tendency and variability before using advanced statistical analysis techniques.

Both histograms and box plots allow to visually assess the central tendency, the amount of variation in the data as well as the presence of gaps, outliers or unusual data points.

Screenshot 2021-08-07 at 9.23.48 PM

Both histograms and box plots are used to explore and present the data in an easy and understandable manner.

However, histograms are preferred to determine the underlying probability distribution of data. Box plots on the other hand are more useful when comparing several data sets. They are less detailed than histograms and take up less space.