Open
Description
We can reference data sources in three ways:
- Inline directly encoded with
dataFromColumns
etc - Referencing a local file with
dataFromUrl
, e.g.dataFromUrl "myFile.csv"
- Referencing an (usually remote) http/https file with
dataFromUrl
, e.g.dataFromUrl "https://vega.github.io/vega-lite/data/movies.json"
All three work in static visualization mode (elm {v}
)
However, in VS Code, when showing blocks in interactive mode (elm {v interactive}
), option 2 is now failing. Presumably because of security, cross origin restrictions. But I note that it works without problems in Atom. Not sure what settings in VS Code (presumably the default) is preventing this from working.