MaartenGr / MaartenGr/BERTopic
Treemap visualization instead of hierarchical tree
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
### Feature request
Is there way to make a Treemap visualization instead of hierarchical tree provided in topic_model.visualize_hierarchy(hierarchical_topics=hierarchical_topics, custom_labels=True)
### Motivation
Since I have almost 138 topics it is more readable to have that
### Your contribution
I am currently having trouble finding the tree structure used in topic_model.visualize_hierarchy(hierarchical_topics=hierarchical_topics, custom_labels=True)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at topic_model.visualize_hierarchy(hierarchical_topics=hierarchical_topics, custom_labels=True) and trace how the hierarchical_topics data is consumed. Define how that structure should map to a treemap and how custom labels should appear. Done means users can request a readable treemap for large topic sets such as 138 topics, with coverage verified by appropriate visualization tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100