Bar Graph: Visual representation showing frequencies of categorical data using rectangular bars
Frequency: Number of occurrences of each category
Relative Frequency: Proportion of each category relative to total
- Identify categories: List all possible categorical values
- Count frequencies: Count occurrences of each category
- Set up axes: X-axis for categories, Y-axis for frequencies
- Draw bars: Heights proportional to frequencies
- Add labels: Title, axis labels, values
โข Bars represent categories not continuous data
โข Height shows frequency or relative frequency
โข Bars must be separated (no touching)
โข Consistent width for all bars
Categorical Variable: Subject preference
Categories: Math, Science, English, History
Frequencies: 25, 15, 30, 10 respectively
- List categories and their frequencies
- Set up coordinate axes
- Draw bars with heights proportional to frequencies
- Add appropriate labels and title
Subject โ Frequency
Math โ 25
Science โ 15
English โ 30
History โ 10
X-axis: Subject categories
Y-axis: Number of students (frequency)
Each bar height corresponds to frequency count
Bar graph created with subjects on X-axis and frequencies on Y-axis
English has highest frequency (30), History lowest (10)
โข Separate bars: Each category has its own bar
โข Proportional height: Reflects frequency
โข Clear labeling: Categories and values shown
Categorical Variable: Favorite color
Categories: Red, Blue, Green, Yellow, Purple
Frequencies: 18, 22, 15, 12, 8 respectively
Color โ Frequency
Red โ 18
Blue โ 22
Green โ 15
Yellow โ 12
Purple โ 8
Y-axis maximum: 22 (highest frequency)
Scale: 0 to 25 in increments of 5
Blue has highest frequency (22)
Purple has lowest frequency (8)
Bar graph created with colors on X-axis and frequencies on Y-axis
Blue is most preferred (22), Purple least preferred (8)
โข Consistent spacing: Equal distance between bars
โข Appropriate scale: Y-axis accommodates all values
โข Accurate representation: Heights match frequencies
Categorical Variable: Vehicle type
Categories: Sedan, SUV, Truck, Motorcycle, Van
Frequencies: 45, 35, 20, 15, 10 respectively
Vehicle Type โ Frequency
Sedan โ 45
SUV โ 35
Truck โ 20
Motorcycle โ 15
Van โ 10
Order by frequency: Sedan, SUV, Truck, Motorcycle, Van
Largest bar for Sedan (45), smallest for Van (10)
Bar graph created with vehicle types on X-axis and frequencies on Y-axis
Sedans most common (45), Vans least common (10)
โข Logical ordering: Categories arranged meaningfully
โข Visual clarity: Differences easily visible
โข Complete representation: All categories included
Categorical Variable: Clothing size
Categories: Small, Medium, Large, XL, XXL
Frequencies: 25, 40, 30, 15, 8 respectively
Size โ Frequency
Small โ 25
Medium โ 40
Large โ 30
XL โ 15
XXL โ 8
X-axis: Size categories (natural order)
Y-axis: Inventory count
Medium has highest inventory (40)
XXL has lowest inventory (8)
Bar graph created with sizes on X-axis and inventory on Y-axis
Medium most stocked (40), XXL least stocked (8)
โข Ordered categories: Natural size progression
โข Proportional representation: Bars reflect actual counts
โข Inventory insight: Stock levels clearly visible
Categorical Variable: Food type ordered
Categories: Pizza, Burger, Salad, Pasta, Sandwich
Frequencies: 60, 45, 25, 30, 20 respectively
Food Type โ Orders
Pizza โ 60
Burger โ 45
Salad โ 25
Pasta โ 30
Sandwich โ 20
Y-axis maximum: 60 (highest frequency)
Scale: 0 to 70 in increments of 10
Pizza has highest orders (60)
Sandwich has lowest orders (20)
Bar graph created with food types on X-axis and orders on Y-axis
Pizza most ordered (60), Sandwich least ordered (20)
โข Business insight: Popular items clearly identified
โข Accurate scaling: Y-axis accommodates all values
โข Operational decision: Inventory planning support
Relative Frequency: Proportion of each category relative to total
Percentages: Relative frequencies expressed as percentages
Comparative Analysis: Comparing multiple categorical variables
- Calculate proportions: Convert frequencies to relative frequencies
- Create percentage bars: Show percentages instead of raw counts
- Compare distributions: Multiple bar graphs for comparison
- Stacked bars: Show subcategories within main categories
โข Proportional accuracy: Bar heights must be proportional
โข Clear labeling: Include all necessary information
โข Consistent formatting: Uniform appearance across graphs
โข Contextual interpretation: Understand what the data represents