VegaLite.jl icon indicating copy to clipboard operation
VegaLite.jl copied to clipboard

Would it be possible to link data to a plot?

Open kavir1698 opened this issue 4 years ago • 4 comments

So that when data changes, the plot changes automatically.

kavir1698 avatar Apr 15 '20 12:04 kavir1698

The closest thing we have is https://github.com/tkf/VegaStreams.jl, but it might only support adding additional data to existing data? Not sure.

davidanthoff avatar Apr 15 '20 12:04 davidanthoff

it might only support adding additional data to existing data?

That's what I understood from VegaStreans package. It only provides push! and append! functions.

kavir1698 avatar Apr 15 '20 12:04 kavir1698

Can you describe your scenario a bit more?

What kind of UI would you want to use for your scenario?

davidanthoff avatar Apr 15 '20 12:04 davidanthoff

I want to be able to plot simulations as they run, without having to save plots frame by frame and converting them to an animation. Something similar to what this feature of Makie.

I was thinking being able to do:

p = @vlplot(data=df, ...)
# update df
update!(p)  # the plot changes

kavir1698 avatar Apr 15 '20 13:04 kavir1698