• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created almost 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

VSCode extension for Interactive Preview of Vega and Vega-Lite maps πŸ—ΊοΈ and graphs πŸ“ˆ.

Vega Viewer

Version Installs Downloads https://ko-fi.com/dataPixy

Vega Viewer provides language support and Interactive Preview of Vega and Vega-Lite JSON specification graphs. Use Vega Viewer to find and prototype custom data visualizations using Vega maps πŸ—ΊοΈ and graphs πŸ“ˆ.

Advanced Vega Charts

Features

  • Create Vega or Vega-Lite JSON {} specification documents
  • Vega and Vega-Lite Graphs Preview πŸ“ˆ
  • Local and http(s) data files support
  • SVG and PNG Graph Export options
  • 724 searchable built-in Vega and Vega-Lite Examples
  • Vega Themes Preview
  • Load Vega specs from online Vega Editor or github gists
  • Preview Vega graphs πŸ“ˆ from starred gists, playgrounds, and data visualizations in GistPad πŸ“˜
  • View and Share Vega(-Lite) spec in the online Vega Editor
  • Referenced CSV and JSON data display via Data Preview 🈸

Vega Viewer Data Preview

Installation

Install Vega Viewer πŸ“ˆ from VSCode Extensions tab (Ctrl+Shift+X) by searching for Vega, or directly from Visual Studio Marketplace link in your browser.

Users of VSCodium, Azure Data Studio, and other VSCode-based IDEs can install Vega Viewer using .vsix extension package attached in Assets section from published releases of this extension on github. Follow install from .vsix instructions in your VSCode extensions compatible IDE or online container service to install it.

Note: VSCodium and other VSCode extension compatible IDE flavors are not officially supported as they require additional testing in those IDE variants.

Settings

Install Data Preview 🈸 or use built-in vscode.open command to preivew CSV and JSON data files referenced in your Vega graph πŸ“ˆ specifications.

Vega Viewer Data Preview Command Setting

Usage

  1. Use Vega: Create Vega Spec command from View -> Command Pallette... menu to Create and Save new Vega or Vega-Lite document with the corresponding Vega json $schema reference.

  2. Use Vega: Preview Vega Graph command on an open .vg.json or .vl.json Vega spec document to Preview Graph πŸ“ˆ.

  3. Save updated Vega spec json document to Preview updated Graph πŸ“ˆ.

  4. Use Vega: Preview Remote Vega Graph command to preview URL encoded Vega specs from online Vega Editor or github gists.

Built-in Examples

  1. Use Vega: Examples command to view the list of built-in Vega Examples.

  2. Use Vega: Lite Examples command to view all the Vega-Lite Maps πŸ—Ί and Graphs πŸ“ˆ created by the Vega dev community.

  3. Use Vega: Visual Vocabulary Examples command to View quick list of Visual Vocabulary Vega Examples.

...

Example: Vega Contour Plot Preview

Vega Viewer Plot Example

Vega Viewer VSCode Contributions

Vega Viewer Settings, Commands, Keyboard Shortcuts, Languages, and JSON Validation feature contributions:

Vega Viewer Contributions

Vega Viewer Commands

Vega Viewer provides the following Commands to view built-in Vega and Vega-Lite graph examples and create new visualization specification documents:

Vega Viewer Commands

Vega Viewer GistPad Integration

Vega Viewer integrates with GistPad extension for Vega and Vega-Lite graph Previews:

Vega Viewer Gistpad Integration

Recommended Extensions

Recommended extesnsions for working with data, gists, maps and SVG graphs πŸ“ˆ in VSCode:

Extension Description
Data Preivew 🈸 Data Preview 🈸 extension for importing πŸ“€ viewing πŸ”Ž slicing πŸ”ͺ dicing 🎲 charting πŸ“Š & exporting πŸ“₯ large JSON array/config, YAML, Apache Arrow, Avro & Excel data files.
GistPad πŸ“˜ VS Code extension for managing and sharing code snippets, notes and interactive samples using GitHub Gists.
SVG SVG language support extension.
Geo Data Viewer πŸ—ΊοΈ Geo Data Viewer for generating snazzy maps πŸ—ΊοΈ with keplerGL.

Dev Log

See #VegaViewer πŸ“ˆ tag on Twitter for the latest updates on this vscode extension development.

Dev Build

$ git clone https://github.com/RandomFractals/vscode-vega-viewer
$ cd vscode-vega-viewer
$ npm install
$ code .

F5 to launch Vega Viewer extension VSCode debug session:

Alt text

Contributions

Any and all test, code and feedback contributions are welcome.

Open an issue or create a pull request to make Vega Viewer πŸ“ˆ work better for all.

Support

Become a Fan and sponsor our dev efforts on this and other Random Fractals, Inc. code and data viz extensions if you find them useful, educational, or enhancing your daily dataViz/dev code workflows:

β˜•οΈ https://ko-fi.com/dataPixy πŸ’– https://github.com/sponsors/RandomFractals

More Repositories

1

vscode-data-preview

Data Preview 🈸 extension for importing πŸ“€ viewing πŸ”Ž slicing πŸ”ͺ dicing 🎲 charting πŸ“Š & exporting πŸ“₯ large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
TypeScript
450
star
2

geo-data-viewer

Geo Data Analytics tool for VSCode IDE with kepler.gl support to generate and view maps πŸ—ΊοΈ without any Python 🐍, IPyWidgets βš™οΈ, pandas 🐼, Jupyter notebooks πŸ“š, or ReactJS βš›οΈ app code.
HTML
320
star
3

chicago-crimes

Exploring Chicago crimes dataset with Jupyter notebooks, DuckDB, Malloy and new Panel/PyScript data and dashboard tools.
Jupyter Notebook
33
star
4

js-notebook-inspector

JS Notebook πŸ““ Inspector πŸ•΅οΈ -> vscode extension for Interactive Preview of Observable JS Notebooks πŸ“š & Notebook πŸ““ Nodes βŽ‡ & Cells βŒ— source code.
JavaScript
24
star
5

vscode-data-table

Data Table 🈸 , Flat Data Grid δΈ­ & Data Summary 🈷️ Renderers for VSCode Notebook πŸ““ Cell βŒ— Data Outputs
JavaScript
24
star
6

observable-data-tools

Repository of web and code editor friendly Observable Data Toools πŸ› οΈ and Notebooks πŸ“š in .js, .nb.json, .ojs, .omd, .html and .qmd document formats for Data Previews in a browser and in VSCode IDE with Observable JS extension, Quarto extension, and new Quarto publishing tools.
JavaScript
22
star
7

unfolded-maps

Unfolded Studio sample maps πŸ—ΊοΈ with Observable JS πŸ““, Jupyter/.Net Interactive notebooks πŸ“š & Unfolded Map SDK
JavaScript
20
star
8

duckdb-sql-tools

DuckDB SQL Tools add DuckDB support to VSCode, and provide database schema and SQL query interfaces for the popular SQLTools extension, SQL query editor, language server, and data processing tools.
Jupyter Notebook
20
star
9

ChicagoCrimes

Exploring public Chicago crimes data set in Python
Jupyter Notebook
18
star
10

CensusD3

interactive d3.js v.4 maps and graphs data viz of US census data from census.gov
Vue
14
star
11

tabular-data-viewer

Tabular Data Viewer πŸ€„ VSCode extension for viewing very large local and remote CSV and TSV data files with Tabulator Table, Perspective Datagrid and D3FC Chart Views πŸ“ŠπŸ“ˆ
TypeScript
12
star
12

vscode-marketplace-ext-stats

VSCode Marketplace Extension Stats tool to get periodic Installs & Downloads counts for Visual Studio family of products extension authors
JavaScript
10
star
13

CyberDash

code behind @WebDevCreations @WebPackSense and @CyberDash Twitter bots
JavaScript
9
star
14

venn-diagram-generator

we do it for #dataSci tech lulz :)
TypeScript
8
star
15

Chicago-transportation-notebooks

Demo notebooks πŸ“š using public city of Chicago Transportation datasets.
JavaScript
8
star
16

americans

Bots demo project of USA census population data
JavaScript
5
star
17

droneStrikes

Data viz of US drone strikes in the Middle East
CSS
5
star
18

paradise-campfire-map

omniSci visualization of Paradise, California 2018 campfire
JavaScript
5
star
19

Ukraine-geo-data

Data repository for geo spatial applications about Ukraine.
4
star
20

unfolded-map-snippets

Html, CSS, JavaScript, and Python 🐍 vscode snippets βœ‚οΈ extension for Unfolded Map πŸ—ΊοΈ and Data SDKs
Jupyter Notebook
4
star
21

unfolded-map-react

unfolded map πŸ—ΊοΈ react app
JavaScript
4
star
22

vscode-snippets-viewer

Snippets viewer for VSCode
TypeScript
4
star
23

AdventureWorks

Asp.Net MVC 5/Dapper AdventureWorks Sales Orders Sample App
JavaScript
3
star
24

vscode-extension-snippets

VScode Snippets extension for creating vscode extensions ;)
2
star
25

data-laboratory

vscode data laboratory extensions pack
2
star
26

js-notepad

js-notepad
2
star
27

unfolded-map-renderer

Unfolded Map πŸ—ΊοΈ Notebook πŸ““ Renderer for VSCode.
TypeScript
2
star
28

jupyterlite-demo

JupyterLite Demo
Jupyter Notebook
1
star
29

data-core

Common data core repository for data extensions
1
star
30

vscode-agent-cody

new super secret vscode ext. proj. ;) πŸ•΅οΈβ€β™€οΈ
1
star
31

vscode-js-notebooks

VSCode JavaScript Notebooks
HTML
1
star
32

vscode-charts

Generic charts vscode extension ...
1
star
33

world-migrations

World Migrations Data Viz
Vue
1
star
34

observable-cors

Glitch cors proxy for https://beta.observablehq.com
JavaScript
1
star
35

ISpyAI

testbed for I Spy books OCR and image recognition AI
Jupyter Notebook
1
star
36

keplergl-notebook-renderer

Kepler.gl Jupyter notebook flat geo data output renderer for VSCode IDE.
TypeScript
1
star
37

chicago-transport

Exploratory data analysis of public Chicago transportation datasets.
Jupyter Notebook
1
star
38

random-bits

random python/js bits
Jupyter Notebook
1
star
39

vscode-svelte-repl

vscode-svelte-repl
1
star
40

vega-unfurl

Slack app for Vega Editor links preview
JavaScript
1
star