✅ A histogram is used to display the distribution of numerical data, while a bar chart compares categorical data.
A histogram is preferred over a bar chart when representing continuous numerical data because:
A bar chart, on the other hand, is used for comparing distinct categories (e.g., different products, countries, or age groups) rather than showing data distribution.