incorporated pie chart, saving data