added filter to pie chart