Skip to main contentSkip to solution

What is the main difference between a histogram and barplot?

Solution

✅ Correct Option: 2

A histogram is used for continuous numerical data. The values are grouped into intervals (bins), and bars touch each other because the intervals are continuous. A bar plot is used for categorical data. Each bar is a separate category, so the bars have gaps between them and can be reordered.


Option 1: This is the reverse of the correct statement.

Option 3: This is also reversed. Grouping data into intervals is what a histogram does, and comparing categories is what a bar plot does.

Option 4: Both charts can show frequencies or percentages on the y-axis, so this is not the difference.

Memory trick: a histogram has no gaps because numbers form a continuous scale, while a bar plot has gaps because categories are separate.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question