Added legend, tooltip and mouseover effects to pie chart