# What is the difference between a bar graph and a histogram?

The fundamental difference between histograms and bar graphs from a visual aspect is that bars in a bar graph are not adjacent to each other.

## Answer: we have seen the basic differences between a bar graph and a histogram.

Let's understand the difference between a bar graph and a histogram

**Explanation:**

- A
**bar graph**is the graphical representation of categorical data using rectangular bars where the length of each bar is proportional to the value they represent. - A
**histogram**is the graphical representation of data where data is grouped into continuous number ranges and each range corresponds to a vertical bar.

The main differences between a bar chart and a histogram are as follows:

Bar Graph | Histogram |
---|---|

Equal space between every two consecutive bars. | No space between two consecutive bars. They should be attached to each other. |

The X-axis can represent anything. | The X-axis should represent only continuous data that is in terms of numbers. |

But in both graphs, Y-axis represents numbers only. We can understand these differences from the following figure: