issue #229 creating a pie chart