make animation for pie chart when the number of job changed