VegaLite.from_spec

You're seeing just the function from_spec, go back to VegaLite module for more information.

Specs

from_spec(spec()) :: t()

Wraps the given Vega-Lite specification in the VegaLite struct for further processing.

There is also from_json/1 that handles JSON parsing for you.

See the docs for more details.