By restructuring the plotData script slightly, we should be able to build an interactive data visualization tool for the InGrid analysis.
On the front end side we show a list / buttons (whatever) to show the available plots (for a start). Then select a single or several plots and show a page with the selected plots shown in plotly.
On the backend side we need to either:
easiest: create all plots we may show before hand, once they are created, send selected plots to the karax frontend
harder: listen via websocket to the karax frontend for selected plots. Then, create the plots, extract the JSON from plotly and send it to the frontend, which will create a div for the plotly plot, call newPlot and insert the received JSON.
Potential further improvements:
allow to set cuts etc. on the data from the karax interface and provide more general plotting capabilities beyond the defined plots (aside from freedom in datasets)
Just some brainstorming ahead:
By restructuring the
plotData
script slightly, we should be able to build an interactive data visualization tool for the InGrid analysis.On the front end side we show a list / buttons (whatever) to show the available plots (for a start). Then select a single or several plots and show a page with the selected plots shown in plotly.
On the backend side we need to either:
newPlot
and insert the received JSON.Potential further improvements: