A double bar graph is one of the types of the grouped bar graph.
A double bar graph is used to compare two types of data simultaneously. It helps to present more than one kind of information at the same time. To distinguish between bars for each type of data, both the bars are coloured or shaded differently.
The information in a double bar graph is related, and it compares one set of data to another.
A double bar graph is made in the same way that a simple bar graph is made except that instead of one bar of data there will be two bars of data.
Here come the steps to draw the double bar graph:
- Draw in the two axes with one horizontal and other vertical.
- Horizontal items being counted (\(x\)-axis) and one with the scale that is going to be used to count (\(y\)-axis).
- Decide on the best scale to use the given data.
- Draw in the bars to show the data.
- Draw one category in one colour and the other category in another colour.
- Give a suitable title and axes names.
Let us consider a particular class in school. The teacher surveyed boys and girls on their preference for the movie.
Here comes the tabulated form of the result.
Type of movie
Let's follow the steps and draw the bar graph for the given data.
Step 1: Draw two perpendicular lines one horizontally for the type of movies like action, comedy, drama and science fiction with two bars in each type such as girls and boys and the other will be vertically for the number of people in it.
Step 2: The horizontal line will take the movie type with equal spaces between them and the vertical line takes the number of people from \(0\) to \(20\) (as the maximum number is \(18\)) with \(2\) points increments (like \(0\), \(2\), \(4\), \(6\), ...., \(20\)).
Step 3: Mark signs of equal breadth for each class and leave equal or not less than half a breadth between two classes.
Step 4: Now mark the values \(6\) and \(15\) for girls and boys in action movies. Then, mark \(18\) and \(16\) for girls and boys in comedy and proceed it in the same way for remaining values.
Step 5: Now write the title as 'Favourite type of movie' and the axes label as 'Movie types' along the \(x\)-axis and 'Number of people' along the \(y\)-axis. Also, shade the bars with different colours to differentiate the variables such as the girls and the boys.
Representation of the double bar graph will be like as follows: