implemented Pie chart, ref #48