create pie chart element