d3graph

Creation of interactive networks using d3 Javascript

https://github.com/erdogant/d3graph

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary

Keywords

adjacency-matrix d3-javascript d3graph d3js d3js-graph force-directed-graph graph interactive network python

Keywords from Contributors

association association-analysis association-learning d3-visualization exploratory-data-analysis hypergeometric-distribution inference network-analysis
Last synced: 6 months ago · JSON representation ·

Repository

Creation of interactive networks using d3 Javascript

Basic Info
Statistics
  • Stars: 191
  • Watchers: 6
  • Forks: 28
  • Open Issues: 17
  • Releases: 61
Topics
adjacency-matrix d3-javascript d3graph d3js d3js-graph force-directed-graph graph interactive network python
Created about 6 years ago · Last pushed 7 months ago
Metadata Files
Readme Funding License Citation

README.md

D3graph: Interactive force-directed networks

Python Pypi Docs LOC Downloads Downloads License Forks Issues Project Status DOI Medium Donate <!---BuyMeCoffee--> <!---Coffee-->

``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 | Create the network Graph. | | setnodeproperties | Set the node properties for the network graph | | setedgeproperties | Set the edge properties for the network graph |


Resources and Links


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
  • 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

Owner

  • Name: Erdogan
  • Login: erdogant
  • Kind: user
  • Location: Den Haag

Machine Learning | Statistics | Bayesian | D3js | Visualizations

Citation (CITATION.cff)

# YAML 1.2
---
authors: 
  -
    family-names: Taskesen
    given-names: Erdogan
    orcid: "https://orcid.org/0000-0002-3430-9618"
cff-version: "1.1.0"
date-released: 2019-12-28
keywords: 
  - "Interactive network"
  - "force-directed graphs"
  - "python"
  - "d3js"
license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://erdogant.github.io/d3graph"
title: "Interactive force-directed network creator (d3graph)"
version: "0.1.12"
...

GitHub Events

Total
  • Release event: 4
  • Watch event: 17
  • Push event: 17
  • Pull request review event: 4
  • Pull request event: 2
  • Fork event: 3
  • Create event: 3
Last Year
  • Release event: 4
  • Watch event: 17
  • Push event: 17
  • Pull request review event: 4
  • Pull request event: 2
  • Fork event: 3
  • Create event: 3

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 455
  • Total Committers: 9
  • Avg Commits per committer: 50.556
  • Development Distribution Score (DDS): 0.088
Past Year
  • Commits: 6
  • Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
erdogant e****t@g****m 415
Erdogan Taskesen 5****a 26
rjhear 7****r 5
vinloo g****x@8****t 2
Oliver Verver o****r@s****l 2
Panin Maksim Denisovich m****n@o****u 2
goggle j****8@g****m 1
Wouter Adem w****m@w****e 1
Sruthi Venkat s****t@S****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 33
  • Total pull requests: 12
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 27
  • Total pull request authors: 9
  • Average comments per issue: 2.12
  • Average comments per pull request: 0.75
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 4 months
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • JohnOmernik (5)
  • cogitaria-admin (2)
  • tomascolla95 (1)
  • showming (1)
  • tillwf (1)
  • davide-aloi (1)
  • LoePhi (1)
  • danielkentwood (1)
  • DRakkola (1)
  • vkuehn (1)
  • ginkyenglee (1)
  • wouteradem (1)
  • joseberlines (1)
  • jesucastin (1)
  • ftrotter (1)
Pull Request Authors
  • gnuille (4)
  • dpinol (4)
  • rjhear (3)
  • maxoner (1)
  • SruthiVenkat (1)
  • oliver3 (1)
  • vinloo (1)
  • wouteradem (1)
Top Labels
Issue Labels
enhancement (6) question (5) bug (1) Notebook issues (1) good first issue (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 7,070 last-month
  • Total docker downloads: 45
  • Total dependent packages: 5
  • Total dependent repositories: 6
  • Total versions: 60
  • Total maintainers: 1
pypi.org: d3graph

Python package to create interactive network based on d3js.

  • Homepage: https://erdogant.github.io/d3graph
  • Documentation: https://d3graph.readthedocs.io/
  • License: d3graph is distributed with the 3-clause BSD license. :: Copyright (C) 2000-2022, Erdogan Taskesen <erdogant@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the d3graph nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • Latest release: 2.6.1
    published 7 months ago
  • Versions: 60
  • Dependent Packages: 5
  • Dependent Repositories: 6
  • Downloads: 7,070 Last month
  • Docker Downloads: 45
Rankings
Dependent packages count: 1.6%
Downloads: 3.3%
Docker downloads count: 4.0%
Average: 4.8%
Stargazers count: 5.9%
Dependent repos count: 6.0%
Forks count: 8.2%
Maintainers (1)
Last synced: 6 months ago

Dependencies

docs/source/requirements.txt pypi
  • pipinstallsphinx_rtd_theme *
requirements-dev.txt pypi
  • irelease * development
  • pytest * development
  • rst2pdf * development
  • sphinx * development
  • sphinx_rtd_theme * development
  • spyder-kernels ==2.2.1 development
  • tabulate * development
requirements.txt pypi
  • colourmap *
  • ismember *
  • jinja2 *
  • markupsafe ==2.0.1
  • networkx >2
  • numpy *
  • packaging *
  • pandas *
  • python-louvain *
  • scikit-learn *
setup.py pypi
  • colourmap *
  • ismember *
  • jinja2 *
  • markupsafe ==2.0.1
  • networkx >2
  • numpy *
  • packaging *
  • pandas *
  • python-louvain *
  • scikit-learn *