Skip to main content

Reusable html-based python visualization library

Project description


A library of web-based visualizations for python and ipython

Set Up / Usage

pip install vislib

vislib is set up to optionally be used within an ipython interactive environment. If used outside of ipython, it will generate html files and open the default browser with the created visualizations.


vis.js timeline

A library for rich interactive timelines. Renders a vis.js timeline component. See

from vislib.visjs import timeline
timeline([{'text': 'first item', 'start': '2018-05-21 17:30:08.202'},
          {'text': 'second item', 'start': "2018-05-21 17:31:53.712"},
          {'text': 'third item', 'start': "2018-05-21 18:14:05.843"}], content_field='text', title='example1')


A d3 based charting library that elegantly mixes power and simplicity. Renders a basic taucharts chart with the given data. See

from vislib.taucharts import chart
chart([{'item': 'car', 'amount': 1},
       {'item': 'book', 'amount': 10},
       {'item': 'bed', 'amount': 3}], x='item', y='amount', title='Taucharts example')


Renders a Treant.js tree. See

from vislib.treant import tree
        'text': { 'name': "Parent node" },
        'children': [{
            'text': { 'name': "First child" }
            'text': { 'name': "Second child" }


Generate Documentation

 cd docs
 rm -rf _build
 make html


rm -rf dist
python sdist bdist_wheel
twine upload dist/*

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vislib-0.2.tar.gz (4.4 kB view hashes)

Uploaded source

Built Distribution

vislib-0.2-py2-none-any.whl (6.0 kB view hashes)

Uploaded py2

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page