Inserts pie chart directive and ability to switch between years