Data Table Renderers for VSCode Notebooks π
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 π.
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 is a collection of custom tabular data renderers for vscode notebooks.
- View
CSV
, semi-flatXML
,GeoJSON
andJSON
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:
Data Table πΈ Notebook π cell β output renderer uses Observable Inputs Table component for fast incremental data display and scrolling of datasets loaded in VSCode Notebooks π
You can also use our generic Data Table Viewer π notebook to preview public datasets in a browser:
Or use it in vscode with Observable JS Notebook π Inspector π΅οΈ:
Or load Data Table πΈ Viewer π with Observable JS vscode extension:
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 π
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.
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:
-
Install Runme vscode extension
-
Load notebooks/world-lakes.md document
-
Click on
βΆοΈ in the markdown text editor context menu toOpen markdown as Runme
π. -
Run All α cells β
-
Click on
...
in the gutter of thecurl
command cell andChange Presentation
to one of the Data Table πΈ renderers or Leaflet π Map πΊοΈ renderer:
-
Install REST Book π vscode extension
-
Load Chicago Traffic Tracker REST Book π
-
Run All α cells β
-
Click on
...
in the gutter ofGET
data output and change it to Data Table πΈ renderer:
- Install
vega_datasets
andaltair
Python libraries viapip
orconda
:
$ 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:
or switch it to Data Summary π·οΈ renderer:
-
Install TypeScript Notebooks π vscode extension
-
Download USA Airports data files
-
Load USA Airports TypeScript Notebook π
-
Run All α cells β to view local
CSV
andJSON
text data outputs with Data Table πΈ:
Also, try new USA State Capitals TypesScript Notebook π with GeoJSON
node-fetch and Flat Data Grid renderer from built-in Notebook Examples:
-
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 β:
-
Install Pyodide π vscode extension
-
Load Chicago Red Light Cameras Pyolite Notebook π
-
Run All α cells β:
-
Install REST Book π vscode extension
-
Load World π Rivers REST Book π
-
Run All α cells β
-
Click on
...
in the gutter ofGET
data output and change it to Data Table πΈ for geo table view:
-
Load World π GDP REST Book π
-
Run All α cells β
-
Click on
...
in the gutter ofGET
data output and change it to Data Table πΈ for XML data table view:
Data Table πΈ renderer displays data that is not in CSV
, GeoJSON
or JSON
array data format in a scrollable text container:
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 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 |
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.
$ 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.
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.