vscode-data-table
π Apache-2.0 License
π Version
π Installs
π Downloads
π https://ko-fi.com/dataPixy
See Data Preview πΈ vscode extension for a generic Grid Data Viewer with many common data formats support, search, sort, filters, grouping, splits, pivot tables, aggregates and basic charts π.
Support
These Data Table Renderers were created to enhance raw data views in Jupyter and custom VSCode Notebooks π.
Please consider becoming a Fan and sponsoring 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 and exploratory data analysis:
βοΈ https://ko-fi.com/dataPixy
π https://github.com/sponsors/RandomFractals
Data Table πΈ Renderers
Data Table Renderers is a collection of custom tabular data renderers for vscode notebooks.
π Data Table πΈ Renderers
πΈ Features
- View
CSV, semi-flat XML, GeoJSON and JSON array data Notebook π cell β output in HTML table with column sort, number and date formatting
- Incremental Data Table πΈ rows creation on table scroll for faster display of larger datasets
- Data Summary π Renderer View for a quick overview of loaded dataset
- Flat Data δΈ Grid Renderer with column summary headers, filtering, and
CSV save options
- Built-in REST Book π, Python π, TypeScript Notebook π, .NET Interactive Notebook π, and Pyolite/Pyodide π Notebook Examples π
- Geo π Data Table πΈ View
- Experimental XML Data Table πΈ View
- Notebook π cell β Text Output scrollable container with code pre-wrap for quick copy/paste to other places
- Use Data Table, Flat Data Grid & Data Summary Notebook π cell renderers with Pyolite/Pyodide π kernel in Jupyter Notebooks VSCode web editor on vscode.dev and github.dev:
π Flat Data Grid δΈ in browser
Data Table πΈ Renderer View
Data Table πΈ Notebook π cell β output renderer uses Observable Inputs Table component for fast incremental data display and scrolling of datasets loaded in VSCode Notebooks π
π Data Table πΈ Renderer View
Observable Data Table πΈ Viewer π
You can also use our generic Data Table Viewer π notebook to preview public datasets in a browser:
π Observable Data Table πΈ Viewer π
Or use it in vscode with Observable JS Notebook π Inspector π΅οΈ:
π Observable JS Data Table πΈ Viewer π Inspector π΅οΈ
Or load Data Table πΈ Viewer π with Observable JS vscode extension:
π Observable JS Data Table πΈ Viewer π
Data Summary π Renderer View
This general purpose Data Table πΈ Renderer extension also includes Data Summary π Renderer based on modifield Observable Summary Table component for a quick overview of datasets loaded in VSCode Notebooks π
π Data Summary π Renderer View
Flat Data δΈ Grid Renderer
Flat Data Grid renderer is the latest addition to this custom tabular data renderers collection vscode extension. It's based on the Flat UI React data grid component library created by the GitHub Next dev team & used in Flat Data viewer on flatgithub.com.
π Flat Data δΈ Grid Renderer Example
πΈ Examples
Data Table πΈ for Notebooks π extension v1.6.0 and up ships with built-in Notebook examples. You can access provided Notebook Examples listed below via Data Table: Notebook Examples command from View -> Command Palette... vscode menu:
π Data Summary Data Table πΈ Notebook Examples
Runme Notebook Example
Install Runme vscode extension
Load notebooks/world-lakes.md document
Click on βΆοΈ in the markdown text editor context menu to Open markdown as Runme π.
Run All α
cells β
Click on ... in the gutter of the curl command cell and Change Presentation to one of the Data Table πΈ renderers or Leaflet π Map πΊοΈ renderer:
π World Lakes Runme Notebook π
REST Book Example
Install REST Book π vscode extension
Load Chicago Traffic Tracker REST Book π
Run All α
cells β
Click on ... in the gutter of GET data output and change it to Data Table πΈ renderer:
π Chicago Traffic Data REST Book π
Python Notebook Example
- Install
vega_datasets and altair Python libraries via pip or conda:
$ pip install altair vega_datasets
or
$ conda install -c conda-forge altair vega_datasets
Load Iris Vega Data Python π Notebook π
Run All α
cells β
Click on ... in the gutter of iris data output and change it to Data Table πΈ renderer:
π Iris Vega Data Table πΈ View
or switch it to Data Summary π·οΈ renderer:
π Iris Vega Data Summary π·οΈ View
TypeScript Notebook Example
Install TypeScript Notebooks π vscode extension
Download USA Airports data files
Load USA Airports TypeScript Notebook π
Run All α
cells β to view local CSV and JSON text data outputs with Data Table πΈ:
π USA Airports TypeScript Notebook π
Also, try new USA State Capitals TypesScript Notebook π with GeoJSON node-fetch and Flat Data Grid renderer from built-in Notebook Examples:
π USA State Captitals TypeScript Notebook π
.NET Interactive Notebook Example
Install .NET Install Tool for Extension Authors vscode extension
Install .NET Interactive Notebooks π vscode extension
Load Chicago Speed Cameras .NET Interactive Notebook π
Run All α
cells β:
π Chicago Speed Cameras .NET Interactive Notebook π
Pyolite Notebook Example
Install Pyodide π vscode extension
Load Chicago Red Light Cameras Pyolite Notebook π
Run All α
cells β:
π Chicago Red Light Cameras Pyolite Notebook π
Geo π Data Table πΈ View
Install REST Book π vscode extension
Load World π Rivers REST Book π
Run All α
cells β
Click on ... in the gutter of GET data output and change it to Data Table πΈ for geo table view:
π World π Rivers Geo Data REST Book π
XML Data Table πΈ View
Load World π GDP REST Book π
Run All α
cells β
Click on ... in the gutter of GET data output and change it to Data Table πΈ for XML data table view:
π World π GDP Data REST Book π
Text Oputput View
Data Table πΈ renderer displays data that is not in CSV, GeoJSON or JSON array data format in a scrollable text container:
π Text Output Notebook π View
Data Table Renderers Extension Dependency
You can add our Data Table πΈ Notebook π Renderers dependency to your custom VSCode notebook kernels to enable users of your custom notebooks to view data with our Data Table renderers by declaring extension dependency in your VSCode extension package.json:
"extensionDependencies": [
"RandomFractalsInc.vscode-data-table"
],
See VSCode Extension Manifest doc for more info.
Recommended Extensions
Recommended extensions for working with Interactive Notebooks π, data πΈ, charts π, and geo πΊοΈ data formats 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 |
| Geo Data Viewer πΊοΈ |
kepler.gl Geo Data Analytics tool to gen. some snazzy πΊοΈs w/0 Py π pyWidgets βοΈ pandas πΌ or react βοΈ |
| Vega Viewer π |
Provides Interactive Preview of Vega & Vega-Lite maps πΊοΈ & graphs π |
| Leaflet π Map πΊοΈ |
Leaflet π Map πΊοΈ for Notebook π cell β data outputs |
| JS Notebook π Inspector π΅οΈ |
Provides Interactive Preview of Observable JS Notebooks π, Notebook π nodes β & cells β source code |
| Observable JS |
Observable Notebooks π Interpreter with VSCode Notebook view support, Observable js and md code outlines and previews |
| Runme βΆοΈ |
Runme executes commands and code blocks from markdown documents, and provides direct CLI integration and multi-language support in Visual Studio Code markdown text editor and markdown-based notebooks. |
| DeltaXML XPath Notebook |
XPath 3.1 Notebook π for Visual Studio Code |
Dev Log
See #DataTableView πΈ & #DataTableRenderers tags on our Twitter feed for the latest & greatest updates on this vscode extension & what's next in store for new data tools in vscode.
Dev Build
$ git clone https://github.com/RandomFractals/vscode-data-table
$ cd vscode-data-table
$ npm install
$ npm run compile
$ code .
F5 to launch Data Table extension VSCode debug session.
||
vscode-data-table>vsce package
to generate VSIX Data Table extension package with vsce from our latest for local dev install in VSCode.
Contributions
Any and all test, code or feedback contributions are welcome.
Open an issue or create a pull request to make this Data Table πΈ Renderers vscode notebooks π extension work better for all.
Backers
π support me on ko-fi.com