I want to pass dynamic data from view to template. I want to show list of ward_no in x-axis and total sum of repeated ward_no in y-axis in barcharts using django and CanvasJS. I’m unable to show data in barchart. You can look my code from https://gist.github.com/palistha01/f7abdd250051de334c54d1faeba65d1c.