https://github.com/erdogant/d3graph
Creation of interactive networks using d3 Javascript
https://github.com/erdogant/d3graph
adjacency-matrix d3-javascript d3graph d3js d3js-graph force-directed-graph graph interactive network python
Last synced: 11 days ago
JSON representation
Creation of interactive networks using d3 Javascript
- Host: GitHub
- URL: https://github.com/erdogant/d3graph
- Owner: erdogant
- License: other
- Created: 2019-12-15T10:33:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2026-07-11T08:27:39.000Z (11 days ago)
- Last Synced: 2026-07-11T10:07:12.578Z (11 days ago)
- Topics: adjacency-matrix, d3-javascript, d3graph, d3js, d3js-graph, force-directed-graph, graph, interactive, network, python
- Language: HTML
- Homepage: https://erdogant.github.io/d3graph
- Size: 11.2 MB
- Stars: 203
- Watchers: 5
- Forks: 30
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# D3graph: Interactive force-directed networks
[](https://img.shields.io/pypi/pyversions/d3graph)
[](https://pypi.org/project/d3graph/)
[](https://erdogant.github.io/d3graph/)
[](https://github.com/erdogant/d3graph/)
[](https://pepy.tech/project/d3graph)
[](https://pepy.tech/project/d3graph)
[](https://github.com/erdogant/d3graph/blob/master/LICENSE)
[](https://github.com/erdogant/d3graph/network)
[](https://github.com/erdogant/d3graph/issues)
[](http://www.repostatus.org/#active)
[](https://zenodo.org/badge/latestdoi/228166657)
[](https://erdogant.medium.com/)
[](https://erdogant.github.io/d3graph/pages/html/Documentation.html#)
###
``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](https://erdogant.github.io/d3graph/) for more detailed information. **⭐️ Star it if you like it ⭐️**
---
### Key Pipelines
| Feature | Description |
|--------|-------------|
| [**Graph**](https://erdogant.github.io/d3graph/pages/html/Core_Functionalities.html) | Create the network Graph. |
| [**set_node_properties**](https://erdogant.github.io/d3graph/pages/html/Node%20properties.html) | Set the node properties for the network graph |
| [**set_edge_properties**](https://erdogant.github.io/d3graph/pages/html/Edge%20properties.html) | Set the edge properties for the network graph |
---
### Resources and Links
- **Blog Posts:** [Medium](https://erdogant.medium.com/)
- **Documentation:** [Website](https://erdogant.github.io/d3graph)
- **Bug Reports and Feature Requests:** [GitHub Issues](https://github.com/erdogant/d3graph/issues)
---
### Installation
##### Install d3graph from PyPI
```bash
pip install d3graph
```
##### Install d3graph from GitHub source
```bash
pip install git+https://github.com/erdogant/d3graph
```
##### Load library
```python
# Import library
from d3graph import d3graph
```
---
#
### Examples
### Contributors
Setting up and maintaining D3graph has been possible thanks to users and contributors. Thanks to:
### Maintainer
* Erdogan Taskesen, github: [erdogant](https://github.com/erdogant)
* Contributions are welcome.
* Yes! This library is entirely **free** but it runs on coffee! :) Feel free to support with a Coffee.
[](https://www.buymeacoffee.com/erdogant)