# How to Create a Bar Chart (Mathematics Lesson)

# 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.

#### An Example Question

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

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.

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*.

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.

**10** students favorite color is **Blue**.

We draw a bar of height **10** above **Blue**.

**15** students favorite color is **Red**.

We draw a bar of height **15** above **Red**.

**10** students favorite color is **Yellow**.

We draw a bar of height **10** above **Yellow**.

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

# A Real Example of How to Create a Bar Chart

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