I'm trying to display a chart of averages/trends of a lot of data in a Django application. I went the route of embedding the data in the template, similar to:
<script>
var data = JSON.parse({{ giant_json_of_data }});
</script>
And on a page where that data is really really big, the part of my HTML with that script in it isn't even showing up.
This is similar to this question, but my browser isn't throwing any error message -- it's just not displaying the relevant part of the template at all!
Is there a limit to how big of a json string you can embed in a template?