A D3-powered bi-directional Streamlit component for idendrogram library that visualizes dendrograms created by hierarchical clustering algorithms (SciPy, scikit-learn and hdbscan compatible).
Demo available at https://idendrogram.streamlit.app/.
Docs @ https://kamicollo.github.io/idendrogram/
If you would like to go beyond customization supported by this component out of the box (e.g. do some really fancy tooltips), you'll need:
- To be familiar with bi-directional Streamlit component development
- Clone this repo
- Make adjustments! The D3 component is written in a single file (
index.tsx
), and the tooltip creation is part ofdraw_nodes()
function. - Run the npm server locally with
npm run start
- In your Streamlit app, use the
StreamlitConverter(release=False)
to get idendrogram to look for the local NPM server.