Skip to content

View, summarize and visualize data in the browser using machine learning tools in Python.

License

Notifications You must be signed in to change notification settings

epigos/data-explorer

Repository files navigation

Data Exploration with Matplotlib and D3.js

Build Status PyPI version

This is a small library built with Tornado, Matplotlib and Pandas to summarize and visualize any datasource in the browser.

Currently supports Python 3.x

Demo

Demo

Installation

To install, simply:

$ pip install dexplorer

Usage

Starting Data Explorer:

from dexplorer import DataExplorer

dte = DataExplorer()
dte.read_csv('example.csv')  #  connect csv data source
dte.start()  #  starts a new server on port 9011 by default;

Basically this is how it works;

  1. Data is loaded using the Pandas library
  2. The server start with websocket support to the browser
  3. Descriptive summary (Descriptive Statistics) of columns is generated and sent through the socket and rendered in the browser.
  4. Distribution of values (Boxplot and Barplot) in each columns is then generated using Matplotlib and sent to the browser as json.
  5. D3.js is then used to render the json plot in the browser

Documentation

Documentation can be found here

Running the Tests

To run tests

python -m tornado.testing tests.functests

About

View, summarize and visualize data in the browser using machine learning tools in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published