VegaLite.data_from_url

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

data_from_url(vl, url, opts \\ [])

View Source

Specs

data_from_url(t(), String.t(), keyword()) :: t()

Sets data URL in the specification.

The URL should be accessible by whichever client renders the specification, so preferably an absolute one.

All provided options are converted to data properties.

Examples

Vl.new()
|> Vl.data_from_url("https://vega.github.io/editor/data/penguins.json")
|> ...

Vl.new()
|> Vl.data_from_url("https://vega.github.io/editor/data/stocks.csv", format: :csv)
|> ...

See the docs for more details.