VegaLite.jl
VegaLite.jl copied to clipboard
Julia bindings to Vega-Lite
I'm notice a discrepancy with the same spec in the vega editor, vs plotted with this lib, with regards to ` "scale": {"zero": false}`. Julia  vs the vega editor...
I'm working on QuickVega.jl, and I'd like to pass `kwargs` to @vlplot, for example: ```julia function scatterplot(data; x_col=:x, y_col=:y, kwargs...) # assumes Tables.jl format data |> @vlplot(:circle, x=x_col, y=y_col; kwargs...)...
For a 100x4 array containing my data, if I try to plot the following: ```julia @vlplot(:line,x=df[:,1],y=df[:,2],color={df[:,3],type="q"},order ={field ="row", type="q"},detail={df[:,4],type="o"}) ``` I get the following Warning: **WARN Dropping {"type":"o"} from channel...
The idea would be to have an alternative API in the [QuickVega.jl](https://github.com/queryverse/QuickVega.jl) package that is not grammar-of-graphics based, but resembles the original API from https://github.com/johnmyleswhite/Vega.jl, i.e. the philosophy would be...
We should auto-translate ```julia @vlplot(x={datum=Date(200, 1, 7)}) ``` to ```julia @vlplot(x={datum={year=2000, month=1, date=7}}) ```
Instead of ```julia df.hallway_width2 = map(x->x[2], df[!, :hallway_widths]) df |> @vlplot( mark={:boxplot, extent="min-max"}, x = {:hallway_width2}, y = {:tree_size, axis={title="tree size"}} ) ``` Is it possible to do something like...
As of https://github.com/JuliaLang/julia/issues/29333 julia 1.5 supports implicitly named keyword arguments, e.g. `f(; x, y)` is interpreted as `f(; x=x, y=y)`. It would be nice to support a similar syntax in...
Using the example from my last issue (#303), the output is missing the horizontal line in the file output (but not the output generated in a browser window): ```julia pl...
Right now we use the `+` operator both for layered plots _and_ for sub specs like repeat, facet etc. That is kind of confusing. I think generally we should use...
While there are examples in the documentation that use various forms of layer composition, I am often very unclear on how to translate vega-lite examples into syntax VegaLite.jl translates correctly...