Changed dataset for pie chart and add animation for both bar  and pie chart