{"id":20478634,"url":"https://github.com/do-me/d3wordcloud","last_synced_at":"2025-06-20T14:32:46.413Z","repository":{"id":59907647,"uuid":"539929119","full_name":"do-me/d3wordcloud","owner":"do-me","description":"A simple Jupyter (Lab/Notebook) wrapper of Jason Davies d3 JS wordcloud generator https://www.jasondavies.com/wordcloud/","archived":false,"fork":false,"pushed_at":"2022-10-06T14:06:04.000Z","size":140,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T15:13:58.176Z","etag":null,"topics":["d3","d3js","dataviz","svg","wordcloud","wordcloud-generator","wordcloud-visualization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/do-me.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-22T10:41:13.000Z","updated_at":"2024-06-25T11:36:06.000Z","dependencies_parsed_at":"2022-09-25T06:51:04.855Z","dependency_job_id":null,"html_url":"https://github.com/do-me/d3wordcloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/do-me/d3wordcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fd3wordcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fd3wordcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fd3wordcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fd3wordcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/do-me","download_url":"https://codeload.github.com/do-me/d3wordcloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/do-me%2Fd3wordcloud/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260052212,"owners_count":22951707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["d3","d3js","dataviz","svg","wordcloud","wordcloud-generator","wordcloud-visualization"],"created_at":"2024-11-15T15:38:33.184Z","updated_at":"2025-06-20T14:32:41.394Z","avatar_url":"https://github.com/do-me.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# d3wordcloud\nA simple Jupyter (Lab/Notebook) wrapper of Jason Davies d3 JS wordcloud generator https://www.jasondavies.com/wordcloud/\n\n![image](https://user-images.githubusercontent.com/47481567/191727287-f7ff45ea-2ded-4dcd-a8fb-435bc2183d42.png)\n\n## Installation \n`pip install d3wordcloud` \n\n## Usage \nDisplays the interactive SVG wordcloud right in your Jupyter Notebook (or Jupyter Lab).\n\n```python\nimport d3wordcloud as d3wc\nd3wc.display_wordcloud(sample_data, show_settings=False)\n```\n- `sample_data` is a space-separated string, e.g. `\"energy fossil fuel EU\"`\n- `show_settings` shows the original settings for interactive control in your notebook, just like in the [original version](https://www.jasondavies.com/wordcloud/)\n\n![image](https://user-images.githubusercontent.com/47481567/191727836-05fbe1bd-d4b0-425f-9856-42b3addd4ab2.png)\n\n## Settings\nIf you'd like to use all the customization the library offers, either use the manual mode or build a modified wheel yourself. \nFor the manual mode, simply copy the `manual` folder with the two files to your working directory and edit the html template directly.\n\n## Building the installable Python wheel yourself\n1. `git clone https://github.com/do-me/d3wordcloud.git`\n2. `cd d3wordcloud`\n3. `python setup.py sdist`\n4. `tar tzf dist/d3wordcloud-0.0.1.tar.gz`\n5. `python setup.py bdist_wheel sdist`\n6. `cd dist`\n7. `pip install d3wordcloud-0.0.1-py3-none-any.whl`\n\nUninstalling is as easy as \n\n`pip uninstall d3wordcloud-0.0.1-py3-none-any.whl`\n\n## Troubleshooting\nIf you are using a virtual env (like conda env) and the wordcloud SVG is not showing it is probably related to a [Jupyter bug](https://github.com/jupyter-widgets/ipywidgets/issues/2257). A possible workaround is [working in just one notebook at a time](https://github.com/jupyter-widgets/ipywidgets/issues/2257#issuecomment-1270112153)\n\n## To Do\n- Port all the settings for full control in Python. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-me%2Fd3wordcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdo-me%2Fd3wordcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdo-me%2Fd3wordcloud/lists"}