create_arrow_chart
Generate an arrow chart to visualize directional changes. Use green for positive and red for negative values, ideal for showing growth, decline, or budget changes.
Instructions
Arrow-style chart showing directional changes. Green=positive, red=negative.
Ideal for: rankings change, budget surplus/deficit, growth/decline.
Returns: {filepath, title, rows}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data": "<data>",
"label_column": "<label_column>",
"value_column": "<value_column>"
},
"name": "create_arrow_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts | |
| theme | No | 'dark', 'light', or 'infographic' | dark |
| title | No | Chart title | |
| filename | No | Output filename (without .html) | arrow_chart |
| label_column | Yes | Category labels | |
| value_column | Yes | Numeric values (change, growth rate) | |
| reference_value | No | Zero/baseline (default: 0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||