adding documentation for the pie chart