mcp-server-chart

Official

generate_area_chart

Visualize data trends over continuous intervals using an area chart. Plot time on the x-axis and values on the y-axis to infer patterns, such as velocity over time, and calculate derived metrics like distance traveled.

Instructions

Generate a area chart to show data trends under continuous independent variables and observe the overall data trend, such as displacement = velocity (average or instantaneous) × time: s = v × t. If the x-axis is time (t) and the y-axis is velocity (v) at each moment, an area chart allows you to observe the trend of velocity over time and infer the distance traveled by the area's size.

Input Schema

NameRequiredDescriptionDefault
axisXTitleNoSet the x-axis title of chart.
axisYTitleNoSet the y-axis title of chart.
dataYesdata for pie chart, such as, [{time: string; value: number }].
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 pie chart, such as, [{time: string; value: number }].", "items": { "properties": { "group": { "type": "string" }, "time": { "type": "string" }, "value": { "type": "number" } }, "required": [ "time", "value" ], "type": "object" }, "type": "array" }, "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