aimalz / plasticc-explorer

A prototype interactive data exploration tool for the results of PLAsTiCC
https://aimalz.github.io/plasticc-explorer/
MIT License
2 stars 0 forks source link

Getting around embedding the data in the HTML #11

Open aimalz opened 3 years ago

aimalz commented 3 years ago

The plots in the sandbox embed the data in the HTML, which will be a problem for relevant PLAsTiCC data that's too big. We can start by investigating bokeh callbacks to solve the problem.

rbiswas4 commented 3 years ago

So here is an example of someone who is doing what we want I think.: https://medium.com/@n.j.marey/my-experience-with-flask-and-bokeh-plus-a-small-tutorial-7b49b2e38c76

The issue is that I think it might require a bokeh-server.

rbiswas4 commented 3 years ago

After going through the bokeh docs and internet resources: it seems

Catarina-Alves commented 3 years ago

Looking at the Open Supernova Catalog and its GitHub might be useful.

kponder commented 3 years ago

This site talks about how to get our website on Heroku: https://medium.com/@blondiebytes/heroku-hosting-put-your-website-on-the-cloud-cdc8729a7e09 We would have to add a backend using node.js.

I think there is a way to embed a heroku deployed app into your website. So you deploy the bokeh in heroku then embed it in your website using iframe https://www.w3schools.com/tags/tag_iframe.asp