map json data by department to be consumable by piechart