Closed jonmmease closed 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
loader
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.
whoops, dup of https://github.com/vega/vl-convert/issues/43.
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. Seehttps://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.