Ctrl+k

Create bar graphs

Representing categorical data in a bar graph means matching each category to a bar whose height or length shows its whole-number frequency, using a clearly labeled, evenly spaced scale that may count by 1s, 2s, 5s, or 10s. The graph preserves the data’s quantities for comparison and interpretation; bars represent separate categories rather than continuous intervals, and histograms, relative-frequency graphs, and more complex multivariable displays are not included.

Detailed Explanation: Create bar graphs

First, organize the data into categories and their frequencies. A frequency tells how many times each category occurs.

Suppose 15 students were asked about their favorite fruit:

FruitNumber of students
Apples6
Bananas4
Grapes3
Oranges2

Step 1: Choose the axes

  • Put the categories on one axis.
  • Put the number of students on the other axis.
  • Label both axes.

For this example, we can make a horizontal bar graph:

  • The vertical axis lists the fruits.
  • The horizontal axis shows the number of students.

Step 2: Choose an even scale

The greatest frequency is 66, so use a scale from 00 to 66, counting by 11s:

0, 1, 2, 3, 4, 5, 60,\ 1,\ 2,\ 3,\ 4,\ 5,\ 6

The spaces between numbers must be equal.

Step 3: Draw one separate bar for each category

Make each bar end at its category’s frequency:

Favorite Fruits

Number of students
       0    1    2    3    4    5    6
       |----|----|----|----|----|----|
Apples ██████████████████████████████  6
Bananas████████████████              4
Grapes █████████████                 3
Oranges████████                    2

Each bar begins at 00 and reaches the correct number. There is space between categories because fruits are separate categories, not parts of one continuous scale.

Step 4: Check the graph

  • Apples has a bar of height or length 66.
  • Bananas has a bar of 44.
  • Grapes has a bar of 33.
  • Oranges has a bar of 22.

The graph shows that apples were the most popular fruit and oranges were the least popular fruit.

Learn by doing: Create bar graphs

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Graphing - Create Bar Chart from Data (Text)


    ?