changed cpd graph to a stacked bar graph