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.
pip install d3blocks # Normal installation
pip install -U d3blocks # Force update
git clone https://github.com/d3blocks/d3blocks.git
cd d3blocks
pip install -U .
from d3blocks import d3blocks
# Initialize
d3 = D3Blocks()
Block | Function | Blog |
---|---|---|
D3graph | d3.d3graph() |
D3graph |
Elasticgraph | d3.elasticgraph() |
Elasticgraph |
Sankey | d3.sankey() |
Sankey |
Movingbubbles | d3.movingbubbles() |
Movingbubbles |
Scatter | d3.scatter() |
Scatter |
Heatmap | d3.heatmap() |
D3Blocks |
Chord diagram | d3.chord() |
D3Blocks |
Timeseries | d3.timeseries() |
D3Blocks |
Image slider | d3.imageslider() |
D3Blocks |
Violin plot | d3.violin() |
D3Blocks |
Particles | d3.particles() |
D3Blocks |
Treemap | d3.treemap() |
D3Blocks |