sub-divided or component bar chart is used to represent data in which the total magnitude is divided into different or components.
In this diagram, first we make simple bars for each class taking the total magnitude in that class and then divide these simple bars into parts in the ratio of various components. This type of diagram shows the variation in different components within each class as well as between different classes. A sub-divided bar diagram is also known as a component bar chart or stacked chart.