replaced d3 with chartjs for visuals