Implemented pie chart.