The server has a Python script (Bottle) that generates about 10-15 variables containing lists of values. How would you pass them on to Java Script so that it builds graphics?
The most desperate way is to write all the values in HTML through hidden fields, but somehow clumsy ...
The second way: pack in JSON and write it into a JS-file, which will be imported by the page to the main script. But what will happen if several users simultaneously open / refresh a page?
The third way is to do it right and here I am asking for your help.