@kmmoldow another point of clarification. The Python "preprocessing" script would not create a JSON file containing the graphs themselves. It could perform one or more of the following actions:
Produce the HTML for each site page based on the data for that site (this would involve rendering actual HTML tags such as a table containing data)
Produce a JSON file containing site data, which in turn would be ingested by Javascript and used to produce HTML dynamically for the page after it has been loaded by the browser
Some combination where the Python script produces HTML and a JSON. In this blended situation, the JSON may be some supplemental data that is perhaps loaded and used by Javascript after the page loads in the browser
There are pros and cons to each of these options. I would start with the first, keeping in mind that you can change your approach depending on how the design of the site shakes out.
@kmmoldow another point of clarification. The Python "preprocessing" script would not create a JSON file containing the graphs themselves. It could perform one or more of the following actions:
There are pros and cons to each of these options. I would start with the first, keeping in mind that you can change your approach depending on how the design of the site shakes out.