VegaLite.new

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

Specs

new(keyword()) :: t()

Returns a new specification wrapped in the VegaLite struct.

All provided options are converted to top-level properties of the specification.

Examples

Vl.new(
  title: "My graph",
  width: 200,
  height: 200
)
|> ...

See the docs for more details.