New PieChart js file for specific functions.