Fixed the percentage in the pie chart to two decimal places. The pie chart now also appear on the main page