add category based pie chart