I have a string variable specifying a VL plot. How can I use the string variable with @vl_str in order to plot a graph? e.g.
julia> s
“{"$schema":"[https://vega.github.io/schema/vega-lite/v5.json\](https://vega.github.io/schema/vega-lite/v5.json/)”,"encoding":{"x":{"field":"a","type":"ordinal"},"y":{"field":"b","type":"quantitative"}},"data":{"values":[{"b":28,"a":"A"},{"b":55,"a":"B"},{"b":43,"a":"C"},{"b":91,"a":"D"},{"b":81,"a":"E"},{"b":53,"a":"F"},{"b":19,"a":"G"},{"b":87,"a":"H"},{"b":52,"a":"I"}]},"mark":"bar","description":"A simple bar chart with embedded data."}"
julia> @vl_str s
ERROR: LoadError: MethodError: no method matching parse(::Symbol)
Closest candidates are:
parse(::AbstractString; dicttype, inttype, allownan, null) at /home/peter/.julia/packages/JSON/3rsiS/src/Parser.jl:453
parse(::IO; dicttype, inttype, allownan, null) at /home/peter/.julia/packages/JSON/3rsiS/src/Parser.jl:484
Stacktrace:
[1] @vl_str(::LineNumberNode, ::Module, ::Any) at /home/peter/.julia/packages/VegaLite/6J0HU/src/dsl_str_macro/dsl_str_macro.jl:2
in expression starting at REPL[29]:1