Python-nvd3
Python-nvd3 is a wrapper around the NVD3 library. NVD3 is itself a layer on top of the D3.js library. This is from the NVD3 homepage (http://nvd3.org/):
"This project is an attempt to build re-usable charts and chart components for d3.js without taking away the power that d3.js gives you."
Starting Python-nvd3
Python-nvd3 can be installed with the usual pip install
command:
pip install python-nvd3
After this, one can check to make sure that it is available:
In [3]: import nvd3 loaded nvd3 IPython extension run nvd3.ipynb.initialize_javascript() to set up the notebook help(nvd3.ipynb.initialize_javascript) for options In [4]: nvd3.__version__ Out[4]: '0.14.2'
An initial graph
The following code calls some basic Python-nvd3 libraries to ...
Get Mastering IPython 4.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.