mcp-server-chart

Official

generate_column_chart

Create column charts for comparing categorical data, ideal for visualizing close values by height. Supports grouping, stacking, and customizable titles for axes and chart.

Instructions

Generate a column chart, which are best for comparing categorical data, such as when values are close, column charts are preferable because our eyes are better at judging height than other visual elements like area or angles.

Input Schema

NameRequiredDescriptionDefault
axisXTitleNoSet the x-axis title of chart.
axisYTitleNoSet the y-axis title of chart.
dataYesdata for column chart, such as, [{category: string; value: number; group?: string}].
groupNogrouping is enabled. column charts require a 'group' field in the data.
stackNostacking is enabled. column charts require a 'group' field in the data.
titleNoSet the chart title.

Input Schema (JSON Schema)

{ "properties": { "axisXTitle": { "description": "Set the x-axis title of chart.", "type": "string" }, "axisYTitle": { "description": "Set the y-axis title of chart.", "type": "string" }, "data": { "description": "data for column chart, such as, [{category: string; value: number; group?: string}].", "items": { "properties": { "category": { "type": "string" }, "group": { "type": "string" }, "value": { "type": "number" } }, "required": [ "category", "value" ], "type": "object" }, "type": "array" }, "group": { "description": "grouping is enabled. column charts require a 'group' field in the data.", "type": "boolean" }, "stack": { "description": "stacking is enabled. column charts require a 'group' field in the data.", "type": "boolean" }, "title": { "description": "Set the chart title.", "type": "string" } }, "required": [ "data" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-server-chart

Related Tools

ID: 5tk8m92plo