vega / vl-convert

Utilities for converting Vega-Lite specs from the command line and Python
BSD 3-Clause "New" or "Revised" License
100 stars 12 forks source link

Set baseURL to support "data/movies.json" style URLs #100

Closed jonmmease closed 1 year ago

jonmmease commented 1 year ago

Closes https://github.com/vega/vl-convert/issues/43 by setting the Vega loader's baseURL to https://vega.github.io/vega-datasets/. This makes it possible to support Vega specs with url's like data/movies.json.

We may want to make this configurable in the future, but this default will make vl-convert compatible with all of the test vega-lite specs in https://github.com/vega/vega-lite/tree/main/examples/specs.