pie charts are now working with categories and assignments