VegaLite.data_from_values

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

data_from_values(vl, values, opts \\ [])

View Source

Specs

data_from_values(t(), Enumerable.t(), keyword()) :: t()

Sets inline data in the specification.

values should be an enumerable of data records, where each record is a key-value structure.

All provided options are converted to data properties.

Examples

data = [
  %{"category" => "A", "score" => 28},
  %{"category" => "B", "score" => 55}
]

Vl.new()
|> Vl.data_from_values(data)
|> ...

See the docs for more details.