VegaLite.data_from_values
You're seeing just the function
data_from_values
, go back to VegaLite module for more information.
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.