Bi-directional Streamlit component for creating interactive dendrograms
Project description
idendrogram-streamlit-component
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/
Customizing the component
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file idendrogram_streamlit_component-0.2.5.tar.gz
.
File metadata
- Download URL: idendrogram_streamlit_component-0.2.5.tar.gz
- Upload date:
- Size: 855.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da750510501e489b89ab6506978b8ef09ae9add148a17a7fabef3641e1ffa23b |
|
MD5 | 57a08818543623031d18fb35e46d1a28 |
|
BLAKE2b-256 | 7a682be84cbef56ed7510bb2c08ab4b8bdf7696690e4c2550cc54a2be29abe55 |
File details
Details for the file idendrogram_streamlit_component-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: idendrogram_streamlit_component-0.2.5-py3-none-any.whl
- Upload date:
- Size: 869.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6a5ba6bb6dcfbb0eed2325a29173e525594f5fce8f11b54e315091ba992be39 |
|
MD5 | 6a1027e0d2f91d4790437c8d449a40d3 |
|
BLAKE2b-256 | c3ec513039ea3d9a920500e2732b83dda4cd556913107bc26c886eead3b79311 |