{"id":17465003,"url":"https://github.com/erdogant/d3graph","last_synced_at":"2026-07-11T14:00:40.866Z","repository":{"id":38779382,"uuid":"228166657","full_name":"erdogant/d3graph","owner":"erdogant","description":"Creation of  interactive networks using d3 Javascript","archived":false,"fork":false,"pushed_at":"2026-07-11T08:27:39.000Z","size":11773,"stargazers_count":203,"open_issues_count":9,"forks_count":30,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-07-11T10:07:12.578Z","etag":null,"topics":["adjacency-matrix","d3-javascript","d3graph","d3js","d3js-graph","force-directed-graph","graph","interactive","network","python"],"latest_commit_sha":null,"homepage":"https://erdogant.github.io/d3graph","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erdogant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["erdogant"],"buy_me_a_coffee":"erdogant","ko_fi":"erdogant","custom":["https://erdogant.github.io/d3graph/pages/html/Documentation.html"],"patreon":null,"open_collective":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null}},"created_at":"2019-12-15T10:33:12.000Z","updated_at":"2026-07-11T08:27:43.000Z","dependencies_parsed_at":"2024-06-18T19:58:12.194Z","dependency_job_id":"dc1876bb-6d33-4576-9d34-c4f8b376a945","html_url":"https://github.com/erdogant/d3graph","commit_stats":{"total_commits":360,"total_committers":6,"mean_commits":60.0,"dds":"0.26111111111111107","last_synced_commit":"420486396a874d0cb17cae97cb9925b679d6053b"},"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"purl":"pkg:github/erdogant/d3graph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fd3graph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fd3graph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fd3graph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fd3graph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erdogant","download_url":"https://codeload.github.com/erdogant/d3graph/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdogant%2Fd3graph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35364269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adjacency-matrix","d3-javascript","d3graph","d3js","d3js-graph","force-directed-graph","graph","interactive","network","python"],"created_at":"2024-10-18T11:08:19.762Z","updated_at":"2026-07-11T14:00:40.856Z","avatar_url":"https://github.com/erdogant.png","language":"HTML","funding_links":["https://github.com/sponsors/erdogant","https://buymeacoffee.com/erdogant","https://ko-fi.com/erdogant","https://erdogant.github.io/d3graph/pages/html/Documentation.html","https://www.buymeacoffee.com/erdogant)--","https://img.buymeacoffee.com/button-api/?text=Buy+me+a+coffee\u0026emoji=\u0026slug=erdogant\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff","https://www.buymeacoffee.com/erdogant"],"categories":[],"sub_categories":[],"readme":"# D3graph: Interactive force-directed networks\n\n[![Python](https://img.shields.io/pypi/pyversions/d3graph)](https://img.shields.io/pypi/pyversions/d3graph)\n[![Pypi](https://img.shields.io/pypi/v/d3graph)](https://pypi.org/project/d3graph/)\n[![Docs](https://img.shields.io/badge/Sphinx-Docs-Green)](https://erdogant.github.io/d3graph/)\n[![LOC](https://sloc.xyz/github/erdogant/d3graph/?category=code)](https://github.com/erdogant/d3graph/)\n[![Downloads](https://static.pepy.tech/personalized-badge/d3graph?period=month\u0026units=international_system\u0026left_color=grey\u0026right_color=brightgreen\u0026left_text=PyPI%20downloads/month)](https://pepy.tech/project/d3graph)\n[![Downloads](https://static.pepy.tech/personalized-badge/d3graph?period=total\u0026units=international_system\u0026left_color=grey\u0026right_color=brightgreen\u0026left_text=Downloads)](https://pepy.tech/project/d3graph)\n[![License](https://img.shields.io/badge/license-BSD3-green.svg)](https://github.com/erdogant/d3graph/blob/master/LICENSE)\n[![Forks](https://img.shields.io/github/forks/erdogant/d3graph.svg)](https://github.com/erdogant/d3graph/network)\n[![Issues](https://img.shields.io/github/issues/erdogant/d3graph.svg)](https://github.com/erdogant/d3graph/issues)\n[![Project Status](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n[![DOI](https://zenodo.org/badge/228166657.svg)](https://zenodo.org/badge/latestdoi/228166657)\n[![Medium](https://img.shields.io/badge/Medium-Blog-black)](https://erdogant.medium.com/)\n[![Donate](https://img.shields.io/badge/Support%20this%20project-grey.svg?logo=github%20sponsors)](https://erdogant.github.io/d3graph/pages/html/Documentation.html#)\n\u003c!---[![BuyMeCoffee](https://img.shields.io/badge/buymea-coffee-yellow.svg)](https://www.buymeacoffee.com/erdogant)--\u003e\n\u003c!---[![Coffee](https://img.shields.io/badge/coffee-black-grey.svg)](https://erdogant.github.io/donate/?currency=USD\u0026amount=5)--\u003e\n\n\n### \n\n\u003cdiv\u003e\n\n\u003ca href=\"https://erdogant.github.io/d3graph/\"\u003e\u003cimg src=\"https://github.com/erdogant/d3graph/blob/master/docs/figs/logo.png\" width=\"175\" align=\"left\" /\u003e\u003c/a\u003e\n``d3graph`` is a python package that simplifies the task of creating **interactive** and **stand-alone** networks in **d3 javascript** using **python**.\nFor 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 ⭐️**\n\u003c/div\u003e\n\n---\n\n### Key Pipelines\n\n| Feature | Description |\n|--------|-------------|\n| [**Graph**](https://erdogant.github.io/d3graph/pages/html/Core_Functionalities.html) | Create the network Graph. |\n| [**set_node_properties**](https://erdogant.github.io/d3graph/pages/html/Node%20properties.html) | Set the node properties for the network graph |\n| [**set_edge_properties**](https://erdogant.github.io/d3graph/pages/html/Edge%20properties.html) | Set the edge properties for the network graph |\n\n---\n\n### Resources and Links\n- **Blog Posts:** [Medium](https://erdogant.medium.com/)\n- **Documentation:** [Website](https://erdogant.github.io/d3graph)\n- **Bug Reports and Feature Requests:** [GitHub Issues](https://github.com/erdogant/d3graph/issues)\n\n---\n\n### Installation\n\n##### Install d3graph from PyPI\n```bash\npip install d3graph\n```\n##### Install d3graph from GitHub source\n```bash\npip install git+https://github.com/erdogant/d3graph\n```\n##### Load library\n```python\n# Import library\nfrom d3graph import d3graph\n```\n---\n\n# \n\n### Examples\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://erdogant.github.io/docs/d3graph/titanic_example/index.html\"\u003e\n     \u003cimg src=\"https://github.com/d3blocks/d3blocks/blob/main/docs/figs/d3graph/d3graph_energy.gif\" width=\"1000\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003chr\u003e\n\n### Contributors\nSetting up and maintaining D3graph has been possible thanks to users and contributors. Thanks to:\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://github.com/erdogant/d3graph/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=erdogant/d3graph\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n### Maintainer\n* Erdogan Taskesen, github: [erdogant](https://github.com/erdogant)\n* Contributions are welcome.\n* Yes! This library is entirely **free** but it runs on coffee! :) Feel free to support with a \u003ca href=\"https://erdogant.github.io/donate/?currency=USD\u0026amount=5\"\u003eCoffee\u003c/a\u003e.\n\n[![Buy me a coffee](https://img.buymeacoffee.com/button-api/?text=Buy+me+a+coffee\u0026emoji=\u0026slug=erdogant\u0026button_colour=FFDD00\u0026font_colour=000000\u0026font_family=Cookie\u0026outline_colour=000000\u0026coffee_colour=ffffff)](https://www.buymeacoffee.com/erdogant)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdogant%2Fd3graph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferdogant%2Fd3graph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdogant%2Fd3graph/lists"}