Creating a chart from sentiments of user tweets using chart.js

Based on the screenshot above, you already have the page to display the chart - which means corresponding view in the views.py.

What I think you need to do:

  • Extend your context and add your dynamic data
  • Render these data in your template with json_script
  • Tell Charts.js library to use this data instead of the dummy one