What is the main difference between a histogram and barplot?
What is the main difference between a histogram and barplot?
Solution
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.
Related questions:
2025: 15 May Shift 2
2025: 27 May Shift 2
2026: 20 May Shift 1
2026: 19 May Shift 1