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
To install, simply:
$ pip install dexplorer
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;
- Data is loaded using the
Pandas
library - The server start with websocket support to the browser
- Descriptive summary (Descriptive Statistics) of columns is generated and sent through the socket and rendered in the browser.
- Distribution of values (
Boxplot
andBarplot
) in each columns is then generated usingMatplotlib
and sent to the browser asjson
. D3.js
is then used to render thejson
plot in the browser
Documentation can be found here
To run tests
python -m tornado.testing tests.functests