Automatic data visualization in atom with the nteract data-explorer

Overview

Data Explorer

Interactively explore your data directly in atom with hydrogen!

The nteract data-explorer provides automatic data visualization, so you can get a feel for your data quickly and with minimal code!

nteract data explorer in hydrogen

🚧 This is a work in progress. Please open issues and pull requests!

⚠️ As this package has some open issues with styling, the following atom themes are recommended for now:

  • 🎨 Atom One Light syntax theme
  • 🎨 Atom One Light UI theme

How to try it out:

Atom packages:

  • Install both hydrogen and the data-explorer package in atom, or in the cli:
    apm install hydrogen data-explorer

Make sure you have installed:

Then, just start a python kernel in hydrogen and run the following code:

import pandas as pd

# Enable the table_schema option in pandas, 
# data-explorer makes this snippet available with the `dx` prefix:
pd.options.display.html.table_schema = True
pd.options.display.max_rows = None

# (Your dataframe here)
iris_filename = './iris.csv'
df1 = pd.read_csv(iris_filename)

df1
Comments
  • Failed to load the data-explorer package

    Failed to load the data-explorer package

    [Enter steps to reproduce:]

    1. ...
    2. ...

    Atom: 1.32.0 x64 Electron: 2.0.9 OS: Ubuntu 16.04.5 Thrown From: data-explorer package 0.3.1

    Stack Trace

    Failed to load the data-explorer package

    At Cannot find module '@blueprintjs/select'
    
    Error: Cannot find module '@blueprintjs/select'
        at Module._resolveFilename (module.js:543:15)
        at Module._resolveFilename (/usr/share/atom/resources/electron.asar/common/reset-search-paths.js:35:12)
        at Function.get_Module._resolveFilename (/usr/share/atom/resources/app/static/<embedded>:11:154364)
        at Module.require (/app.asar/static/index.js:40:43)
        at require (/usr/share/atom/resources/app/static/<embedded>:11:145671)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/VizControls.js:20:15)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/VizControls.js:391:3)
        at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146381)
        at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:149928)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
        at Module.require (/app.asar/static/index.js:47:45)
        at require (/usr/share/atom/resources/app/static/<embedded>:11:145671)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/index.js:48:43)
        at /packages/data-explorer/node_modules/@nteract/transform-dataresource/lib/index.js:495:3)
        at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146381)
        at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:149928)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
        at Module.require (/app.asar/static/index.js:47:45)
        at require (/usr/share/atom/resources/app/static/<embedded>:11:145671)
        at /packages/data-explorer/lib/common.js:33:2)
        at /packages/data-explorer/lib/common.js:11:76)
        at Module.get_Module._compile (/usr/share/atom/resources/app/static/<embedded>:11:146381)
        at Object.value [as .js] (/usr/share/atom/resources/app/static/<embedded>:11:149928)
        at Module.load (module.js:561:32)
        at tryModuleLoad (module.js:504:12)
        at Function.Module._load (module.js:496:3)
    

    Commands

    Non-Core Packages

    data-explorer 0.3.1 
    Hydrogen 2.6.0 
    hydrogen-launcher 1.2.2 
    hydrogen-python 0.0.7 
    
    opened by cchlanger 10
  • Error compiling Less stylesheet

    Error compiling Less stylesheet

    Hi,

    When installing the data-explorer, I get this error:

    Line number: 3 '../node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css' wasn't found. Tried - /home/lordflaron/.atom/packages/data-explorer/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/node_modules/one-light-syntax/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/node_modules/one-light-ui/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/static/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,/usr/lib/atom/node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css,../node_modules/@blueprintjs/icons/lib/css/blueprint-icons.css

    Is there a missing dependency I need?

    Thank you so much!

    opened by amichuda 4
  • Unable to open

    Unable to open

    I installed it using apm command, and it can open another window with the name "data-explorer/docker-view", but nothing shows up. I just use cmd+enter to execute the current line "df".

    opened by zhangpanzhan 0
  • crash after clicking on hex plot

    crash after clicking on hex plot

    open data frame, click on hex bin plot. It shows up but then suddenly crashes.

    Atom: 1.35.1 x64 Electron: 2.0.18 OS: Microsoft Windows 10 Pro Thrown From: data-explorer package 0.6.0

    Stack Trace

    Uncaught Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=Thu%20Dec%2013%202018%2012%3A01%3A51%20GMT-0800%20(Pacific%20Standard%20Time)&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

    At C:\Users\dominikschneider\.atom\packages\data-explorer\node_modules\react-dom\cjs\react-dom.production.min.js:248
    
    Invariant Violation: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=Thu%20Dec%2013%202018%2012%3A01%3A51%20GMT-0800%20(Pacific%20Standard%20Time)&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
        at ba (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:13:315)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:14:166)
        at Bf (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:137:39)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:141:49)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:143:145)
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:147:131
        at /packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:164:72)
        at Tg (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:181:151)
        at bi (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:232:22)
        at ci (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:233:284)
        at Di (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:249:348)
        at Yh (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:248:144)
        at Gi (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:250:420)
        at Kb (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:39:140)
        at Dd (/packages/data-explorer/node_modules/react-dom/cjs/react-dom.production.min.js:86:249)
    

    Commands

         -3:17 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:16.3.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:16.3.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:14.1.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:14.1.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:13.6.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:13.6.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:12.2.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:12.2.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
         -3:11.2.0 hydrogen:run-and-move-down (input.hidden-input)
         -3:11.2.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
      2x -3:09.4.0 core:move-up (input.hidden-input)
      3x -2:54.5.0 core:backspace (input.hidden-input)
         -2:52.5.0 hydrogen:run (input.hidden-input)
         -2:52.5.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)
         -2:29 settings-view:open (input.hidden-input)
    

    Non-Core Packages

    autocomplete-python-jedi 1.10.3-0 
    data-explorer 0.6.0 
    file-icons 2.1.31 
    Hydrogen 2.9.0 
    hydrogen-launcher 1.2.2 
    MagicPython 1.1.1 
    platformio-ide-terminal 2.9.1 
    tablr 1.8.3 
    
    opened by dschneiderch 0
  • column resizing issue

    column resizing issue

    Thanks for this super cool extension!

    I thought I'd point out that things go a bit haywire if you try to resize the columns. image

    I'm on Windows 10, Atom 1.34, data-explorer 0.5.0

    opened by dschneiderch 6
  • [WIP] use nteract outputs component

    [WIP] use nteract outputs component

    • [x] Make a custom outputs component that only renders data-explorer output
    • [x] Write some tests
    • [ ] Refactor and simplify the rest of the package and integrate
    • [ ] useEffects to open and close atom dock, toggle user config, and other side effects, replacing that logic in other areas of the package. (bump react to 16.8)

    This should let me up with a nicer package and some learnings to take to future packages/refactors.

    opened by BenRussert 0
Releases(v0.7.0)
Owner
Ben Russert
Video Experience team @bombbomb
Ben Russert
Apache Superset is a Data Visualization and Data Exploration Platform

Superset A modern, enterprise-ready business intelligence web application. Why Superset? | Supported Databases | Installation and Configuration | Rele

The Apache Software Foundation 50k Jan 6, 2023
Apache Superset is a Data Visualization and Data Exploration Platform

Apache Superset is a Data Visualization and Data Exploration Platform

The Apache Software Foundation 49.9k Jan 2, 2023
Data-FX is an addon for Blender (2.9) that allows for the visualization of data with different charts

Data-FX Data-FX is an addon for Blender (2.9) that allows for the visualization of data with different charts Currently, there are only 2 chart option

Landon Ferguson 20 Nov 21, 2022
Interactive Data Visualization in the browser, from Python

Bokeh is an interactive visualization library for modern web browsers. It provides elegant, concise construction of versatile graphics, and affords hi

Bokeh 17.1k Dec 31, 2022
Statistical data visualization using matplotlib

seaborn: statistical data visualization Seaborn is a Python visualization library based on matplotlib. It provides a high-level interface for drawing

Michael Waskom 10.2k Dec 30, 2022
Fast data visualization and GUI tools for scientific / engineering applications

PyQtGraph A pure-Python graphics library for PyQt5/PyQt6/PySide2/PySide6 Copyright 2020 Luke Campagnola, University of North Carolina at Chapel Hill h

pyqtgraph 3.1k Jan 8, 2023
Debugging, monitoring and visualization for Python Machine Learning and Data Science

Welcome to TensorWatch TensorWatch is a debugging and visualization tool designed for data science, deep learning and reinforcement learning from Micr

Microsoft 3.3k Dec 27, 2022
Statistical data visualization using matplotlib

seaborn: statistical data visualization Seaborn is a Python visualization library based on matplotlib. It provides a high-level interface for drawing

Michael Waskom 8.1k Feb 13, 2021
Interactive Data Visualization in the browser, from Python

Bokeh is an interactive visualization library for modern web browsers. It provides elegant, concise construction of versatile graphics, and affords hi

Bokeh 14.7k Feb 13, 2021
Fast data visualization and GUI tools for scientific / engineering applications

PyQtGraph A pure-Python graphics library for PyQt5/PyQt6/PySide2/PySide6 Copyright 2020 Luke Campagnola, University of North Carolina at Chapel Hill h

pyqtgraph 2.3k Feb 13, 2021
Missing data visualization module for Python.

missingno Messy datasets? Missing values? missingno provides a small toolset of flexible and easy-to-use missing data visualizations and utilities tha

Aleksey Bilogur 3.4k Dec 29, 2022
Statistical data visualization using matplotlib

seaborn: statistical data visualization Seaborn is a Python visualization library based on matplotlib. It provides a high-level interface for drawing

Michael Waskom 8.1k Feb 18, 2021
Interactive Data Visualization in the browser, from Python

Bokeh is an interactive visualization library for modern web browsers. It provides elegant, concise construction of versatile graphics, and affords hi

Bokeh 14.7k Feb 18, 2021
Fast data visualization and GUI tools for scientific / engineering applications

PyQtGraph A pure-Python graphics library for PyQt5/PyQt6/PySide2/PySide6 Copyright 2020 Luke Campagnola, University of North Carolina at Chapel Hill h

pyqtgraph 2.3k Feb 17, 2021
Missing data visualization module for Python.

missingno Messy datasets? Missing values? missingno provides a small toolset of flexible and easy-to-use missing data visualizations and utilities tha

Aleksey Bilogur 2.6k Feb 18, 2021
High-level geospatial data visualization library for Python.

geoplot: geospatial data visualization geoplot is a high-level Python geospatial plotting library. It's an extension to cartopy and matplotlib which m

Aleksey Bilogur 1k Jan 1, 2023
Data Visualization Guide for Presentations, Reports, and Dashboards

This is a highly practical and example-based guide on visually representing data in reports and dashboards.

Anton Zhiyanov 395 Dec 29, 2022
Squidpy is a tool for the analysis and visualization of spatial molecular data.

Squidpy is a tool for the analysis and visualization of spatial molecular data. It builds on top of scanpy and anndata, from which it inherits modularity and scalability. It provides analysis tools that leverages the spatial coordinates of the data, as well as tissue images if available.

Theis Lab 251 Dec 19, 2022
Rick and Morty Data Visualization with python

Rick and Morty Data Visualization For this project I looked at data for the TV show Rick and Morty Number of Episodes at a Certain Location Here is th

null 7 Aug 29, 2022