idendrogram¶
idendrogram
helps you create nicer, interactive visualizations of hierarchical clustering trees (a.k.a. dendrograms) from clustering outputs generated by your preferred hierarchical clustering library (SciPy, Scikit-learn or HDBSCAN) in your preferred python visualization library (Altair, Plotly or Matplotlib)
It also supports bi-directional Streamlit integration via a custom D3-powered component.
Gallery¶
idendrogram
supports custom tooltips, customization of colors, leaf labels, rotation and nearly any other attribute of nodes and links in dendrograms.
Be sure to also check out interactive Streamlit demos!
Bi-directional Streamlit integration¶

Customizable interactive tooltips¶

Customizable node radii¶

Full control of colors¶

Customization of pretty much any aspect¶



Installation¶
To use the main package:
pip install idendrogram
To use the bi-directional Streamlit component:
pip install idendrogram idendrogram-streamlit-component
Usage¶
See Getting Started for usage examples.