[Rebecca-Mercy] Added legend for pie chart