vega / vl-convert

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

Support built-in datasets #99

Closed jonmmease closed 10 months ago

jonmmease commented 10 months ago

We should try to provide the option to support built-in datasets the way the Vega editor does.

Looking at the vega-render-service, this might be possible by providing a custom loader to the Vega view instance. See

https://github.com/vega/vega-render-service/blob/6a0aaf9888175db9407b51837a0130b4bdd684ea/src/app.ts#L69-L103

Along the same lines, customizing the loader could be used to have an allow-list of domains that data may be loaded from.

jonmmease commented 10 months ago

whoops, dup of https://github.com/vega/vl-convert/issues/43.