Bar Graphs

Bar graphs constitutes vertical or horizontal rectangles drawn on a Cartesian plane in order to represent a particular data item with it’s frequency.

Bar charts are especially effective when you have numerical data that splits nicely into different categories so you can quickly see trends within your data.  They are best used to:

  • show change over time
  • compare different categories
  • compare parts of a whole.

There are two types of simple bar charts:

  • Vertical or column chart –bars are moving upwards or are vertical.
  • Horizontal bar chart– This is a bar chart where the bars are horizontal.

For vertical bar graphs, horizontal axis represents category of items and vertical axis the frequency.

For horizontal bar graphs, item categories are on vertical axis and frequency on the horizontal axis. see the figure below

Bar graphs are particularly useful in making comparison of data.The height or length of a bar graph is directly proportional to frequency but the width does not have numerical significance.

As an example consider a hypothetical data about daily visitors that calls in in the first seven major stores in Washington as in table below.

We can represent the above information on a bar graph for a more appealing visualization. A typical vertical bar graph for the above data can be as in the diagram below.

A vertical bar graph

If the same information could be represented using horizontal bar graph, it could appear as shown below:

Horizontal bar graph

Each unit in the horizontal scale represents 200 visitors

By now you may have realized that a chart has 5 important elements:

  • Chart title– example: Number of visitors per day in 5 stores
  • Vertical axis title-e.g : store name
  • horizontal axes title-e.g : number of visitors
  • axes labels-e.g, Amazon fresh, Food lion, Gian….
  • data labels

Chart title is arguably the most important piece of a chart.It is the element that lets the audience know what your chart is about.

Your chart titles should be descriptive enough such that, at first glance, your audience knows what information the chart intends to give them. The title should also be brief and concise so that the graph is not cluttered.

Chart title is usually placed at the top of the chart.

Example

The table below shows the number of students enrolled in each course in the department of Science and Engineering at Kenyatta University on January 2024.

Draw a bar graph to show this information

solution

Vertical bar chart showing relationship between enrollment and course

The vertical scale in the above chart represents 1 unit for 5 students

Multiple Bar Graphs

Multiple bar graphs are used when we have more than one category of data entities to analyse. For example performance of students in two or more subjects.

For Example compare sales value of two loan products for various banks in the last one year in million dollars as shown

Task: draw a bar graph to represent this information

Solution

Multiple bar graphs

In the above chart the bar blue bar represents A mortgage sales and the orange colour represents business loan.

Divided Bar Charts

This are bar charts that represents two or more quantities on the same bar where one category is connected in series with the other category.

The information about bank products described above could be represented as stacked graph as shown.

stacked bar graphs

Practice Exercise

  1. The table below shows the number of female and male students enrolled in 7 courses offered in a semester from the department of science and Technology.

Task:

  1. Draw a multiple graph to represent the information
  2. Draw a stacked graph to represent the information
  3. Which causes has more females compared to males
  4. which cause has the lowest number of participants

2. Learners in grade 4 were asked to name breed of dogs at their home and their teacher recorded their response in the table below.

Required: Represent the data on a bar graph.

3. The results of a mathematics tests for 30 students were as follows:

43 62 33 45 56 32 34 39 51 65 32 43 33 32 43 45 46 44 33 45 51 56 35 33 34 45 32 42 43 62

Required: Make a bar graph to show this information

4. The masses of students in grade 7 and 8 were recorded as follow

required:

  1. draw a multiple bar graphs to represent this information
  2. Represent the information using a stacked graph

Conclusion

In this lesson we have discussed how to represent data Using bar graphs. Bar graphs represents data in a more intuitive way. There are various ways we can draw bar graphs. This includes:

  • Vertical bar graphs
  • Horizontal bar graphs
  • Multiple bar graphs
  • stacked bar graphs

We can compare more than one entity of data in one bar graph.

Related Topics