create_bar_chart
Generate bar charts from numeric data with customizable labels, colors, and orientation. Output as SVG inline or PNG file.
Instructions
Create a bar chart.
Args: values: Numeric values for each bar labels: Category labels (optional, auto-generated if omitted) title: Chart title xlabel: X-axis label ylabel: Y-axis label palette: Color palette: default, vibrant, pastel, monochrome horizontal: If True, render horizontal bars output: 'svg' for inline SVG string, 'png' for file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | ||
| labels | No | ||
| title | No | Bar Chart | |
| xlabel | No | ||
| ylabel | No | ||
| palette | No | default | |
| horizontal | No | ||
| output | No | svg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |