Creating a dynamic Part-to-Whole pie chart