python-nvd3 0.1.0
pip install python-nvd3==0.1.0
Newer version available (0.16.0)
Released:
Python NVD3
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT license)
- Author: Arezqui Belaid
- Tags plot, graph, nvd3, d3
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Python-nvd3 is a Python wrapper for NVD3 graph library. NVD3 is an attempt to build re-usable charts and chart components for d3.js without taking away the power that d3.js gives you.
Installation
Install, upgrade and uninstall python-nvd3.py with these commands:
$ sudo pip install python-nvd3 $ sudo pip install --upgrade python-nvd3 $ sudo pip uninstall python-nvd3
Or if you don’t have pip:
$ sudo easy_install python-nvd3
Usage
After installation use python-nvd3 as follow
import nvd3 #Open File to write the D3 Graph output_file = open('testnvd3.html', 'w') output_file.write(nvd3.template_header_nvd3) chart = nvd3.pieChart(name="pieChart", height=450, width=450) xdata = ["Orange", "Banana", "Pear", "Kiwi", "Apple", "Strawberry", "Pineapple"] ydata = [1, 2, 3, 4, 5, 3, 4] chart.add_serie(y=ydata, x=xdata) chart.buildhtml() output_file.write("\n\n<h2> pieChart Graph </h2>\n\n") output_file.write(chart.html) #close Html file output_file.close()
See our examples directory for more usage.
Documentation
Documentation is available on ‘Read the Docs’: http://python-nvd3.readthedocs.org
License
Python-nvd3 is licensed under MIT, see MIT-LICENSE.txt.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT license)
- Author: Arezqui Belaid
- Tags plot, graph, nvd3, d3
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-nvd3-0.1.0.tar.gz
.
File metadata
- Download URL: python-nvd3-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e4395a02eb92d99936c5b14d530c85f95efbadfd8d91b3fa312703e4f0775e |
|
MD5 | 0f4700e6bc9570853e02fa573376dfcb |
|
BLAKE2b-256 | 7a715b21af577652ba9e12220e1b4558a16d5d21c73925bb1d5163c909a8df2c |