adding pie chart visualization