Skip to main content

Python Pypi Docs LOC Downloads Downloads License Forks Open Issues Project Status Medium GitHub Repo stars GitHub repo size Colab Donate

D3Blocks is a Python package that builds on the graphics of d3 javascript (d3js). It allows you 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. ⭐️ Star it if you like it ⭐️



D3Graph Network Example



Key Pipelines

Feature Description
Interactive Network Visualization Create interactive network graphs with D3graph and Elasticgraph for relationship analysis.
Data Flow Visualization Visualize data flows and relationships using Sankey diagrams and Chord diagrams.
Temporal Data Analysis Analyze time-series data with interactive charts and moving bubbles for dynamic visualization.
Statistical Visualization Create statistical plots including scatter plots, violin plots, and heatmaps.
Hierarchical Data Visualization Visualize hierarchical structures with tree diagrams, treemaps, and circle packing.

Supported charts

nr Block Function Blog
1 D3graph d3.d3graph() D3graph
2 Radialgraph d3.radialgraph() Radialgraph
3 Elasticgraph d3.elasticgraph() Elasticgraph
4 Sankey d3.sankey() Sankey
5 Movingbubbles d3.movingbubbles() Movingbubbles
6 Scatter d3.scatter() Scatter
7 Heatmap d3.heatmap() Heatmap
8 Chord diagram d3.chord() D3Blocks
9 Timeseries d3.timeseries() D3Blocks
10 Image slider d3.imageslider() D3Blocks
11 Violin plot d3.violin() D3Blocks
12 Particles d3.particles() D3Blocks
13 Treemap d3.treemap() D3Blocks
14 Tree d3.tree() D3Blocks
15 Maps d3.maps() D3Blocks
16 Circlepacking d3.circlepacking() D3Blocks

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()

Ethical Ads

When HTMLs are generated, it automatically include ethical ads as a small way to support development. This entire project with maintenance is done thoughtfully and only in my free time. Ads can be disabled via an input parameter, and you can also support the project with a coffee donation instead.

Star history

Star History Chart

References

Contributors

Setting up and maintaining D3blocks has been possible thanks to users and contributors. Thanks to:

Maintainer

  • Erdogan Taskesen, github: erdogant
  • Contributions are welcome.
  • Yes! This library is entirely free but it runs on coffee! :) Feel free to support with a Coffee.

Buy me a coffee

Metadata

Release files for d3blocks 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for d3blocks 2.1.0
File Size Uploaded
d3blocks-2.1.0.tar.gz 12.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for d3blocks 2.1.0
File Interpreter ABI Platform
d3blocks-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.3 MB

Release files / d3blocks-2.1.0.tar.gz

Download URL d3blocks-2.1.0.tar.gz
Size 12.1 MB
Tags Source
SHA-256 checksum
How to use checksums
f01361a8b293af395eb53883799f44c07060dd3acdb9adacb6ffee12bc876fb1
BLAKE2b-256 checksum
How to use checksums
0058953732ec3e295479b0ea0d115c98dcd5387e846a8242248e89a5ab225c66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / d3blocks-2.1.0-py3-none-any.whl

Download URL d3blocks-2.1.0-py3-none-any.whl
Size 12.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a3e6693a841518a3dc4177d48e7c6c16840f0b2f1dc796fff63fdb7546cd6769
BLAKE2b-256 checksum
How to use checksums
8dcf552c6ab7a8873d826221807b5e10e99ffb6585fe3b6dbca217c360ad9d99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.8.6

2 release files

1.8.5

2 release files

1.8.4

2 release files

1.8.3

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7.5

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.11

2 release files

1.4.9

2 release files

1.4.8

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.13

2 release files

1.2.12

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page