Nawqaan-288 - Pie chart functionality almost complete

Still need to hear from Jeff on what to do with nulls. In the meantime, I'd like this merged so we can put it up on dev to play with the features already implemented