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


Resources and Links


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 Elasticgraph d3.elasticgraph() Elasticgraph
3 Sankey d3.sankey() Sankey
4 Movingbubbles d3.movingbubbles() Movingbubbles
5 Scatter d3.scatter() Scatter
6 Heatmap d3.heatmap() Heatmap
7 Chord diagram d3.chord() D3Blocks
8 Timeseries d3.timeseries() D3Blocks
9 Image slider d3.imageslider() D3Blocks
10 Violin plot d3.violin() D3Blocks
11 Particles d3.particles() D3Blocks
12 Treemap d3.treemap() D3Blocks
13 Tree d3.tree() D3Blocks
14 Maps d3.maps() D3Blocks
15 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.

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d3blocks-1.8.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

d3blocks-1.8.0-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file d3blocks-1.8.0.tar.gz.

File metadata

  • Download URL: d3blocks-1.8.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for d3blocks-1.8.0.tar.gz
Algorithm Hash digest
SHA256 b6a613cb95719323a82db7ce06dfd1bfcc715471632c4b06c13a08340c1e5340
MD5 34d1e7af2a31cfab579487dbbbb603ef
BLAKE2b-256 e337b4e6bfa2bdd656aab6f4e8984b2799a179e83c25d58c382c4fad0d260f73

See more details on using hashes here.

File details

Details for the file d3blocks-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: d3blocks-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for d3blocks-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be508f46ead2eacbb266b1c998e6b32f72a801ff9645f575e4e747b9914bf56d
MD5 f22e62e0efdf871866a58c11b526f163
BLAKE2b-256 2cff02233f1cce1f8da4b4bbbe6f43914e65a34c54b32c41295a868cbab69642

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page