Pie chart example based on elm example