Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treemap visualization instead of hierarchical tree #2208

Open
munt-create opened this issue Nov 11, 2024 · 1 comment
Open

Treemap visualization instead of hierarchical tree #2208

munt-create opened this issue Nov 11, 2024 · 1 comment

Comments

@munt-create
Copy link

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)

@MaartenGr
Copy link
Owner

MaartenGr commented Nov 12, 2024

Thank you for sharing this feature request. This is indeed currently not implemented but should be doable with plotlys treemap. Do note though that there is one difficulty, namely the extend to which you keep combining topics. Since this is a bottom-up approach and treemaps are top-bottom, they may be a bit misleading here.

Unfortunately, I can't take this on at the moment but I'll keep this open for others to see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants