Bar Charts
Table of Content:
Bar Charts - Aptitude Formulas
Definition
Bar Chart: A bar chart represents data with rectangular bars. The length or height of each bar is proportional to the value it represents.
Basic Components of a Bar Chart
- Title: Describes what the bar chart is about.
- Axis: The x-axis (horizontal) and y-axis (vertical) provide a reference for the data.
- Bars: Represent data values. Can be vertical or horizontal.
- Labels: Describe the data categories and values.
Types of Bar Charts
Vertical Bar Chart
Bars extend vertically from the x-axis:
Horizontal Bar Chart
Bars extend horizontally from the y-axis:
Grouped Bar Chart
Shows bars grouped together for different categories:
Stacked Bar Chart
Shows bars stacked on top of each other to represent cumulative data:
Formulas Related to Bar Charts
Finding Total Value
If the values represented by the bars are \( v_1, v_2, v_3, \ldots, v_n \), the total value is:
\[ \text{Total Value} = v_1 + v_2 + v_3 + \cdots + v_n \]Finding Average Value
If the values represented by the bars are \( v_1, v_2, v_3, \ldots, v_n \), the average value is:
\[ \text{Average Value} = \frac{v_1 + v_2 + v_3 + \cdots + v_n}{n} \]Percentage of Total
If a bar represents a value \( v_i \) and the total value is \( V \), the percentage of the total is:
\[ \text{Percentage} = \left( \frac{v_i}{V} \right) \times 100 \]Example Problems
Example 1: Finding Total Value
If the values represented by the bars are 10, 20, 30, and 40, the total value is:
\[ \text{Total Value} = 10 + 20 + 30 + 40 = 100 \]Example 2: Finding Average Value
If the values represented by the bars are 10, 20, 30, and 40, the average value is:
\[ \text{Average Value} = \frac{10 + 20 + 30 + 40}{4} = \frac{100}{4} = 25 \]Example 3: Finding Percentage of Total
If a bar represents a value 20 and the total value is 100, the percentage of the total is:
\[ \text{Percentage} = \left( \frac{20}{100} \right) \times 100 = 20\% \]