/d3blocks

The Python library to create stand-alone and interactive d3 charts.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Python PyPI Version License Github Forks GitHub Open Issues Project Status Downloads Downloads Sphinx


D3Blocks builts on the graphics of d3 javascript (d3js) to create the most visually attractive and useful charts with only a few lines of Python code! The documentation pages contains detailed information about the working of the blocks with many examples.


Installation (Pypi)

pip install d3blocks     # Normal installation
pip install -U d3blocks  # Force update

Installation (clone)

git clone https://github.com/d3blocks/d3blocks.git
cd d3blocks
pip install -U .

Import d3blocks package

from d3blocks import d3blocks
# Initialize
d3 = D3Blocks()

Block Function
D3graph (network) d3.d3graph()
Sankey d3.sankey()
Movingbubbles d3.movingbubbles()
Heatmap d3.heatmap()
Chord diagram d3.chord()
Timeseries d3.timeseries()
Scatter d3.scatter()
Image slider d3.imageslider()
Violin plot d3.violin()
Particles d3.particles()

References