Refactored to put things in proper callbacks
Generate a pie chart based on mood counts