made pie chart for genre data