How to use strings to specify plot axes in VegaLite.jl?

amrods
Tue, 31 Aug 2021 06:30:12 +0000
Visualization

How can I use strings to call columns of a DataFrame in VegaLite.jl?

using DataFrames
using VegaLite

df = DataFrame("x" => 1:5, "y.α" => 1:5)
df |> @vlplot(
    :line, x = "x", y = "y.α"
)

ERROR: LoadError: ArgumentError: Invalid shortcut string

3 posts - 2 participants