Pie chart generator for PFApp