Get data from views to a Javascipt file
In django, I'm trying to make a webapp where the the graph is defined in javascript and I want the data to come from firebase (the only way I know to get that data is in the views) how do I pass the data to it since what I only know is to pass that data to html
I've tried using json response, but I dont know how to route the data to the static files where the javascript is located