I’m sure there are many ways this can be done in Julia but if anyone has seen very simple examples of how to produce interactive graphs that can be dynamically updated from (backend) Julia code that would be great?
My starting point is to use something like Interact.jl and VegaLite.jl and then export as a stand-alone html page which the backend can then dynamically stream data to.
Main use case is for interactive control of optimization runs in Optim.jl and BlackBoxOptim.jl. If someone has concrete examples or pointers that would be super-useful. Thanks!
I couldn’t really find an example for what I was looking for but thanks to this VegaLite with WebSockets example:
I managed to put together a single Julia file that uses HTTP to serve a frontend html page with a VegaLite graph and then pushes data updates from Julia over a WebSocket to the frontend which then updates the VegaLite graph. Sharing in a single file gist here since it might be useful for others to build on: