create_histogram
Generate histograms from numeric data with customizable bins, titles, labels, color palettes, and cumulative distribution options, outputting as SVG or PNG.
Instructions
Create a histogram.
Args: values: Numeric data points bins: Number of bins (default: 10) title: Chart title xlabel: X-axis label ylabel: Y-axis label palette: Color palette: default, vibrant, pastel, monochrome cumulative: Show cumulative distribution output: 'svg' for inline SVG, 'png' for file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| bins | No | ||
| title | No | Histogram | |
| xlabel | No | ||
| ylabel | No | Frequency | |
| palette | No | default | |
| cumulative | No | ||
| output | No | svg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |