# How to Create a Bar Chart

## Creating a Bar Chart

A bar chart is a useful way to present data.

Imagine a teacher asked their class what their favorite color was. ## How to Create a Bar Chart

Creating a bar chart is easy.

For each color, we draw a bar as high as the number of students who prefer that color.

### Question

Draw a bar chart to show the favorite colors of the class.

# 1

Find how many students prefer each color.

It may help to make a frequency table to show how many students prefer each color. We can create a bar chart from this frequency table.

# 2

Draw a horizontal axis. List the colors along this axis. Don't forget: Label the axis. In our example, the axis shows the class's favorite color, so we have labelled the axis Favorite color.

# 3

Draw a vertical axis. This axis will show the number of students who prefer each color.

Choose a suitable scale for the axis. from the frequency table in Step 1, we see that the number of students who prefer each color is either 10 or 15. We label the axis up to 15, going 5 at a time. Don't forget: Label the axis. In our example, the axis shows the number of students who prefer each color, so we have labelled the axis Number of students.

Now we draw the bars.

# 4

10 students favorite color is Blue.

We draw a bar of height 10 above Blue. # 5

15 students favorite color is Red.

We draw a bar of height 15 above Red. # 6

10 students favorite color is Yellow.

We draw a bar of height 10 above Yellow. # 7

The bar chart should be given a title. A title is a sentence which describes what the bar chart is showing.

We have created the bar chart: ## Slider

The slider below gives another example of creating a bar chart.

Open the slider in a new tab

What is a bar chart? What is data? What is a frequency table? How to make a frequency table Learn more about creating a bar chart ( interactive widget)