I am able to get chart.js working by consuming some local JSON data, woohoo! However, I run into the problem of having to use:
Before I set up the canvas and do the rendering of each chart. I cannot just include it once at the top of the markdown.
The rendered website is here: https://jamesbradburythesis.xyz/docs/data_bending/
Source can be seen here: https://github.com/jamesb93/phd-site-hugo/blob/master/content/docs/data_bending/_index.md
How can I just include the necessary js once?