Added a solution for only showing the relevant colored squares. The json when being parsed will get the category for each event and add that as an item to the dictionary for the event.