# 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](https://docs.streamlit.io/library/components/components-api#create-a-bi-directional-component)
* Clone this repo
* Make adjustments! The D3 component is written in a single file (`index.tsx`), and the tooltip creation is part of `draw_nodes()` function.
* Run the npm server locally with `npm run start`
* In your Streamlit app, [use the `StreamlitConverter(release=False)`](https://kamicollo.github.io/idendrogram/streamlit/#customizing-streamlit-dendrograms) to get idendrogram to look for the local NPM server.
Raw data
{
"_id": null,
"home_page": null,
"name": "idendrogram-streamlit-component",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "dendrogram,hierarchical clustering,clustering,streamlit,D3",
"author": "Aurimas Racas",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/7a/68/2be84cbef56ed7510bb2c08ab4b8bdf7696690e4c2550cc54a2be29abe55/idendrogram_streamlit_component-0.2.5.tar.gz",
"platform": null,
"description": "# idendrogram-streamlit-component\n\nA D3-powered bi-directional Streamlit component for idendrogram library that visualizes dendrograms created by hierarchical clustering algorithms (SciPy, scikit-learn and hdbscan compatible).\n\nDemo available at https://idendrogram.streamlit.app/. \n\nDocs @ https://kamicollo.github.io/idendrogram/\n\n## Customizing the component\n\nIf 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:\n\n* To be familiar with [bi-directional Streamlit component development](https://docs.streamlit.io/library/components/components-api#create-a-bi-directional-component)\n* Clone this repo\n* Make adjustments! The D3 component is written in a single file (`index.tsx`), and the tooltip creation is part of `draw_nodes()` function. \n* Run the npm server locally with `npm run start`\n* In your Streamlit app, [use the `StreamlitConverter(release=False)`](https://kamicollo.github.io/idendrogram/streamlit/#customizing-streamlit-dendrograms) to get idendrogram to look for the local NPM server. ",
"bugtrack_url": null,
"license": null,
"summary": "Bi-directional Streamlit component for creating interactive dendrograms",
"version": "0.2.5",
"project_urls": {
"Documentation": "https://github.com/kamicollo/idendrogram-streamlit",
"Home": "https://github.com/kamicollo/idendrogram-streamlit"
},
"split_keywords": [
"dendrogram",
"hierarchical clustering",
"clustering",
"streamlit",
"d3"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "c3ec513039ea3d9a920500e2732b83dda4cd556913107bc26c886eead3b79311",
"md5": "6a1027e0d2f91d4790437c8d449a40d3",
"sha256": "e6a5ba6bb6dcfbb0eed2325a29173e525594f5fce8f11b54e315091ba992be39"
},
"downloads": -1,
"filename": "idendrogram_streamlit_component-0.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6a1027e0d2f91d4790437c8d449a40d3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 869169,
"upload_time": "2024-02-24T02:38:14",
"upload_time_iso_8601": "2024-02-24T02:38:14.817297Z",
"url": "https://files.pythonhosted.org/packages/c3/ec/513039ea3d9a920500e2732b83dda4cd556913107bc26c886eead3b79311/idendrogram_streamlit_component-0.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7a682be84cbef56ed7510bb2c08ab4b8bdf7696690e4c2550cc54a2be29abe55",
"md5": "57a08818543623031d18fb35e46d1a28",
"sha256": "da750510501e489b89ab6506978b8ef09ae9add148a17a7fabef3641e1ffa23b"
},
"downloads": -1,
"filename": "idendrogram_streamlit_component-0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "57a08818543623031d18fb35e46d1a28",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 855041,
"upload_time": "2024-02-24T02:38:17",
"upload_time_iso_8601": "2024-02-24T02:38:17.069492Z",
"url": "https://files.pythonhosted.org/packages/7a/68/2be84cbef56ed7510bb2c08ab4b8bdf7696690e4c2550cc54a2be29abe55/idendrogram_streamlit_component-0.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-24 02:38:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kamicollo",
"github_project": "idendrogram-streamlit",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "idendrogram-streamlit-component"
}