# Examples of Bar Chart

This is how a type of graph is known in which **the variations of a phenomenon** or the links that the parts of a set have are shown, for which it offers very specific information in a simplified and schematic way. It is a different way of summarizing information and interpreting it visually, and it should be noted that there are different types of diagrams, which are used depending on the need for communication or the object of study.

This time we are going to focus on the bar chart, which is defined as **the 2D representation** of a quantitative or qualitative variable through horizontal or vertical columns, bearing in mind that changing the axis is simply a matter of design.

### Bar chart example 1

The boss of a company asks his workers a question: **When do you prefer to enjoy your vacations** ? Of course, they have to choose between 4 fortnights. The answer comes from 224 workers of the company.

To better see the data, below we are going to show a vertical bar chart in which you can see how many of them opt for the month of August, more specifically for the first fortnight.

PERIOD |
WORKERS |

July 1-15 |
26 |

July 16-31 |
43 |

1-15 August |
87 |

1-31 August |
68 |

### Bar chart example 2

The following bar chart **counts the grades of the students** of a 1st ESO class. From it we are going to fill in certain questions.

GRADES |
STUDENTS |

Insufficient |
3 |

Enough |
5 |

Good |
eleven |

Remarkable |
6 |

Outstanding |
4 |

- How many students are in the class? There are 29 students.
- What grade is the most common among all students? The good.
- How many students have not passed the subject? 3 students.
- How many students have passed the course? 26 students.

### Bar chart example 3

In this case we are going to present an example of a stacked bar chart. But what is it? This is the graphic representation of two or more series or grouping of data, but the bars that show **the frequencies of each variable are stacked** one on top of the other.

The use of it is to show how a much larger category can be divided into much smaller categories to compare the different values with respect to the total, although it also serves to compare each other.

PRODUCT |
2018 |
2019 |
2020 |

Product 1 |
25 | fifty | 25 |

product 2 |
fifty | 100 | 150 |

product 3 |
100 | 200 | 250 |

### Example of a bar chart for discrete quantitative variables

When a discrete variable is represented, the bar chart is used to make a differential graph. It is recommended that the bars be thin enough to show that the data taken by the variable is discrete.

An example that we are going to show you is **the number of inhabitants per dwelling in the Basque Country** (these are not objective data). The variable number of inhabitants is quantitative, so we can order the modalities to obtain greater clarity.

NUMBER OF RESIDENTS |
ACCUMULATED HOMES |

1 person |
250,129 |

2 people |
959,256 |

3 people |
1,456,630 |

4 people |
2,046,824 |

5 people |
2,257,439 |

6 persons |
2,356,601 |

7 people |
2,404,162 |

8 people |
2,419,181 |

9 people |
2,412,897 |

10 or more people |
2,418,133 |