I’m having trouble creating a range plot with
VegaLite.jl (similar to this How to create a range plot - Datawrapper Academy, but with the ranges orientated vertically). I just need a simple line connecting
ll for each value of
m, but I can’t even plot both
ll in the same “canvas”.
using DataFrames using VegaLite df = DataFrame(m = 1:5, ll=21:25, ul=:31:35) df |> @vlplot( height=400, width=400, :point, x=:m, y=:ul ) + @vlplot( height=400, width=400, :point, x=:m, y=:ll )
The online documentation shows some examples where they calculate
ll from raw data, as opposed to the “summarized” example I present here.