8000 Use of local files in interactive mode in VSCode · Issue #49 · gicentre/litvis · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Use of local files in interactive mode in VSCode #49
Open
@jwoLondon

Description

@jwoLondon

We can reference data sources in three ways:

  1. Inline directly encoded with dataFromColumns etc
  2. Referencing a local file with dataFromUrl, e.g. dataFromUrl "myFile.csv"
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedFor issues that are blocked by other upstream issuesbugSomething isn't workingpriority/p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests
    0