now Pie charts are generated using random data returned from Ajax request to the real backend REST service