added in histogram and pie chart with real data
working, but need to initialize the histograms to 0 to avoid NaN errors