added pie chart and fixed chart transition