D3graph: Interactive force-directed networks
d3graph is a python package that simplifies the task of creating interactive and stand-alone networks in d3 javascript using python.
For this package, I was inspired by d3 JavaScript, but there was no Python package that could create such interactive networks. Here it is: a library that automatically creates D3 JavaScript and HTML code based on an input adjacency matrix in Python! This library does not require any additional installation, downloads, or setting paths to your system's environments. You just need Python and this library. All other is taken care of. Huray! Navigate to API documentations for more detailed information. ⭐️ Star it if you like it ⭐️
Key Pipelines
| Feature | Description |
|---|---|
| Graph | Create the network Graph. |
| set_node_properties | Set the node properties for the network graph |
| set_edge_properties | Set the edge properties for the network graph |
Resources and Links
- Blog Posts: Medium
- Documentation: Website
- Bug Reports and Feature Requests: GitHub Issues
Installation
Install d3graph from PyPI
pip install d3graph
Install d3graph from GitHub source
pip install git+https://github.com/erdogant/d3graph
Load library
# Import library
from d3graph import d3graph
Examples
Contributors
Setting up and maintaining D3graph has been possible thanks to users and contributors. Thanks to:
Maintainer
Release files for d3graph 3.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| d3graph-3.1.2.tar.gz | 1.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| d3graph-3.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / d3graph-3.1.2.tar.gz
| Download URL | d3graph-3.1.2.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5398658364f4159f3e53ad54eb703b0f96be817a66784705d62e9fc80f2d3a44
|
|
BLAKE2b-256 checksum How to use checksums |
19a88c59985c0ebea776dcb477acfa43a4820e71d7349a57895cb7ceebe04b91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / d3graph-3.1.2-py3-none-any.whl
| Download URL | d3graph-3.1.2-py3-none-any.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2218d941479524aef41dc3aed09774a87d521f92d1354bc258cc749252feb19d
|
|
BLAKE2b-256 checksum How to use checksums |
742a8c45f0cd3ac9212198387569f372754a91b90f692f22fe9de4d1330560e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|