@affans I released a new version of VegaLite that has some features that should make these simple cases much more concise. I’ll write the changes up soon, but essentially things like this work now:
@vlplot(:point, rand(10), rand(10))
(just pass vectors without a table, and the first two positions are automatically x and y),or df |> @vlplot(:point, :colA, :colB)
(again, positional option for the X and Y encoding story).
1 Like