add pie chart for stat