added pie chart generator to webapp