combine charts in a single function in chart.js file and add policy helper to loop through each policies in the collection