visualize_cluster_distribution
Create a bar chart showing the number of documents per cluster to analyze cluster size distribution. Supports K-Means, DBSCAN, and HDBSCAN algorithms.
Instructions
Generate bar chart showing cluster size distribution. Shows how many documents are in each cluster.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algorithm | Yes | Clustering algorithm | |
| output_path | Yes | Path to save the bar chart image (PNG) | |
| width | No | Image width in pixels (default: 1000) | |
| height | No | Image height in pixels (default: 600) |