VegaLite.data_from_series

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

data_from_series(vl, series, opts \\ [])

View Source

Specs

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

Sets inline data in the specification.

This is an alternative to data_from_values/3, useful when you have a separate list of values for each data column.

Examples

xs = 1..100
ys = 1..100

Vl.new()
|> Vl.data_from_series(x: xs, y: ys)
|> ...