That does make some sense…
I like the QuickVega idea. As long as they’re composable, and + can convert them to layers and add them to a plot, it seems like that’s more or less all the way there. When there’s a simple VegaLite macro, then they can compile directly to something like your @vlplot({:histogram, color=:lightblue}) whereas when they require custom calculation within Julia, then they’re more complicated, but also there’s a clearly defined interface to write your own plotting. There are always going to be people who want to create rather complicated plots: things that with one command automatically visualize say the mixing of multiple chains of an MCMC run. We can’t just rely on vegalite to do that for us
In fact, how is the QuickVega idea really different from a library of “geoms” ? geom_histogram(), geom_density(), geom_myfavoriteplot() etc. in R.
obviously you’d like it to be easy to simply make a whole plot by calling histogram(df.x)
but as long as you can also do ... + histogram(df.x)
and add a histogram layer to something else, it seems like it gives you the best of both worlds.