What is a Bar Graph?
A bar graph (or bar chart) is a visual representation of data using rectangular bars of different heights. The height of each bar represents the frequency of that category.
Features of a Bar Graph:
- X-axis (horizontal): Categories (e.g., colors, subjects, months)
- Y-axis (vertical): Frequency or values
- Bars: Separate rectangles with gaps between them
- Title: Describes what the graph shows
- Labels: Name the axes and categories
What is a Histogram?
A histogram is similar to a bar graph but is used for continuous data grouped into class intervals. In a histogram, bars touch each other (no gaps) because the data is continuous.
Bar Graph vs Histogram:
| Feature | Bar Graph | Histogram |
|---|---|---|
| Data type | Categorical/discrete | Continuous |
| Bar spacing | Gaps between bars | Bars touch each other |
| X-axis | Categories (no order) | Number line (ordered) |
| Example | Favorite colors | Heights of students |
Types of Bar Graphs:
| Type | Description |
|---|---|
| Vertical Bar Graph | Bars go upward from horizontal axis |
| Horizontal Bar Graph | Bars go sideways from vertical axis |
| Double/Grouped Bar Graph | Multiple bars per category for comparison |
| Stacked Bar Graph | Bars divided into parts showing components |
Real-life Applications:
- Comparing sales of different products
- Showing population of different cities
- Displaying test scores distribution
- Analyzing weather patterns