fix pie chart comparison and add tool tip to pie chart