Pie Chart [Fixed]

Fixed the pie chart representation along with some extra calculations in
form 3.