Why is this @vlplot blank?

dlakelan
Fri, 09 Jul 2021 17:35:54 +0000
General Usage

I use this command:

DataFramesMeta.@select(@where(dftrans, .! ismissing.(:PreScore) .& .! ismissing.(:Group)), :Group,PreScore = Float64.(:PreScore)) |> @vlplot(mark={:area, fillOpacity=.5},x={"PreScore:q",scale={domain=[0,50]}},y="density:q",color="Group:n", transform = [{density = "PreScore",bandwidth=.5,groupby=["Group"]}])

Which gives me the following useless plot:

When I click to show the compiled vegalite code it’s as follows in the details section: This looks ok to me?
The Compiled VegaLite (click for more details)
Perhaps @davidanthoff has some idea?

I think the compiled VegaLite shows that it’s not the data manipulation, because the data seems fine in the JSON.

6 posts - 2 participants