vega-preview provides a preview windows for a vega and vega-lite json files.
The source code of this extension is available at: https://github.com/8/vega-preview
The extension is very much inspired by the great graphviz-preview extension!
Preview for Vega Files
Live-Preview for Vega json files using the command
Preview for Vega-Lite Files
Live-Preview for Vega-Lite json files using the command
Export to Svg
Export Vega and Vega-Lite json files to svg using the commands
Visual Studio Code 1.24.0+
To keep the image from disappearing while it is being edited, the last valid state of a json spec is cached and displayed for each document.