Skip to main content
Glama

vchart-mcp-server

by VisActor
MIT License
3
39
  • Apple

generate_scatter_chart

Create scatter charts to analyze relationships between variables, detect outliers, and visualize data trends in two-dimensional or multi-dimensional space. Supports customization of axes, themes, and output formats like image, HTML, or spec.

Instructions

Generate a scatter chart to visually display the distribution, clustering trends, and correlations of data points in two-dimensional or multi-dimensional space. Suitable for analyzing relationships between variables, outlier detection, and similar scenarios.

Input Schema

NameRequiredDescriptionDefault
backgroundNoChart background color (hex). Optional, defaults to white.
chartThemeNoChart theme. Optional, defaults to 'light'.
colorFieldNoColor grouping field. Should not duplicate the dimension field.
colorsNoColor palette for chart elements.
dataTableYesScatter chart data, e.g., [{ x: 34, y: 10, category: 'A' }].
heightNoChart height. Optional, defaults to 500.
outputNoChart output type. Defaults to 'image'.image
sizeFieldNoNumeric field for bubble size.
subTitleNoChart subtitle text.
titleNoChart title text.
titleOrientNoTitle position in the chart.
widthNoChart width. Optional, defaults to 500.
xAxisHasGridNoShow vertical grid lines for the X-axis.
xAxisHasLabelNoShow X-axis labels.
xAxisHasTickNoShow X-axis ticks.
xAxisOrientNoX-axis position in the chart.
xAxisTitleNoX-axis title.
xAxisTypeNoX-axis type: categorical ('band') or continuous ('linear').
xFieldYesMeasure field. Must be numeric and exist in the data.
yAxisHasGridNoShow horizontal grid lines for the Y-axis.
yAxisHasLabelNoShow Y-axis labels.
yAxisHasTickNoShow Y-axis ticks.
yAxisOrientNoY-axis position in the chart.
yAxisTitleNoY-axis title.
yAxisTypeNoY-axis type: categorical ('band') or continuous ('linear').
yFieldYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "background": { "description": "Chart background color (hex). Optional, defaults to white.", "type": "string" }, "chartTheme": { "description": "Chart theme. Optional, defaults to 'light'.", "enum": [ "light", "dark" ], "type": "string" }, "colorField": { "description": "Color grouping field. Should not duplicate the dimension field.", "type": "string" }, "colors": { "anyOf": [ { "items": { "description": "Color value", "type": "string" }, "type": "array" }, { "type": "null" } ], "description": "Color palette for chart elements." }, "dataTable": { "description": "Scatter chart data, e.g., [{ x: 34, y: 10, category: 'A' }].", "minItems": 1, "type": "array" }, "height": { "description": "Chart height. Optional, defaults to 500.", "type": "number" }, "output": { "default": "image", "description": "Chart output type. Defaults to 'image'.", "enum": [ "spec", "image", "html" ], "type": "string" }, "sizeField": { "description": "Numeric field for bubble size.", "type": "string" }, "subTitle": { "description": "Chart subtitle text.", "type": "string" }, "title": { "description": "Chart title text.", "type": "string" }, "titleOrient": { "description": "Title position in the chart.", "enum": [ "top", "left", "right", "bottom" ], "type": "string" }, "width": { "description": "Chart width. Optional, defaults to 500.", "type": "number" }, "xAxisHasGrid": { "description": "Show vertical grid lines for the X-axis.", "type": "boolean" }, "xAxisHasLabel": { "description": "Show X-axis labels.", "type": "boolean" }, "xAxisHasTick": { "description": "Show X-axis ticks.", "type": "boolean" }, "xAxisOrient": { "description": "X-axis position in the chart.", "enum": [ "bottom", "top" ], "type": "string" }, "xAxisTitle": { "description": "X-axis title.", "type": "string" }, "xAxisType": { "description": "X-axis type: categorical ('band') or continuous ('linear').", "enum": [ "band", "linear" ], "type": "string" }, "xField": { "description": "Measure field. Must be numeric and exist in the data.", "minLength": 1, "type": "string" }, "yAxisHasGrid": { "description": "Show horizontal grid lines for the Y-axis.", "type": "boolean" }, "yAxisHasLabel": { "description": "Show Y-axis labels.", "type": "boolean" }, "yAxisHasTick": { "description": "Show Y-axis ticks.", "type": "boolean" }, "yAxisOrient": { "description": "Y-axis position in the chart.", "enum": [ "left", "right" ], "type": "string" }, "yAxisTitle": { "description": "Y-axis title.", "type": "string" }, "yAxisType": { "description": "Y-axis type: categorical ('band') or continuous ('linear').", "enum": [ "band", "linear" ], "type": "string" }, "yField": { "$ref": "#/properties/xField" } }, "required": [ "dataTable", "xField", "yField" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VisActor/vchart-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server