Creating the stacked bar chart