Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Scatter Plot Generator

Generate customizable scatter plots with regression lines and multiple data series

html· HTML resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/scatter-plot-generator' \
  -H 'Content-Type: application/json' \
  -d '{"chartData":"Single series JSON:\n[{"x": 1, "y": 2}, {"x": 3, "y": 4}]\n\nMulti-series JSON:\n{\n  "series": [\n    {"name": "Group A", "data": [{"x": 1, "y": 2}]},\n    {"name": "Group B", "data": [{"x": 2, "y": 3}]}\n  ]\n}\n\nor text:\n1,2\n3,4\n5,6","chartTitle":"Enter chart title...","pointColors":"#3b82f6,#ef4444,#10b981","backgroundColor":"#ffffff","gridColor":"#e0e0e0","pointSize":"5","opacity":"0.8","chartHeight":"400","xMinValue":0,"xMaxValue":0,"yMinValue":0,"yMaxValue":0,"xAxisLabel":"X Values","yAxisLabel":"Y Values","showGrid":true,"showPoints":true,"showLabels":false,"showRegression":false,"showLegend":true}'

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/scatter-plot-generator

Parameters

NameTypeRequiredDescription
chartDatatextareaYesData for the scatter plot. Supports single/multi-series JSON or simple x,y pairs
chartTitletextNoTitle that will be displayed above the chart
pointColorstextNoColors for multiple series (comma-separated hex colors). Leave empty for default colors.
backgroundColorcolorNoBackground color for the chart container
gridColorcolorNoColor for the grid lines
pointSizenumberNoSize of data points in pixels
opacitynumberNoOpacity of data points (0.1 to 1.0)
chartHeightnumberNoHeight of the chart in pixels
xMinValuenumberNoMinimum value for X-axis (leave empty for auto-scale)
xMaxValuenumberNoMaximum value for X-axis (leave empty for auto-scale)
yMinValuenumberNoMinimum value for Y-axis (leave empty for auto-scale)
yMaxValuenumberNoMaximum value for Y-axis (leave empty for auto-scale)
xAxisLabeltextNoLabel for the X-axis
yAxisLabeltextNoLabel for the Y-axis
showGridcheckboxNoDisplay grid lines for better readability
showPointscheckboxNoDisplay data points (disable to show only regression lines)
showLabelscheckboxNoDisplay labels on data points
showRegressioncheckboxNoDisplay linear regression lines for each series
showLegendcheckboxNoDisplay a legend with all series

Response format

HTML result

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-scatter-plot-generator": {
      "name": "scatter-plot-generator",
      "description": "Generate customizable scatter plots with regression lines and multiple data series",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=scatter-plot-generator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "scatter-plot-generator",
    "arguments": {
  "chartData": "Single series JSON:\n[{&quot;x&quot;: 1, &quot;y&quot;: 2}, {&quot;x&quot;: 3, &quot;y&quot;: 4}]\n\nMulti-series JSON:\n{\n  &quot;series&quot;: [\n    {&quot;name&quot;: &quot;Group A&quot;, &quot;data&quot;: [{&quot;x&quot;: 1, &quot;y&quot;: 2}]},\n    {&quot;name&quot;: &quot;Group B&quot;, &quot;data&quot;: [{&quot;x&quot;: 2, &quot;y&quot;: 3}]}\n  ]\n}\n\nor text:\n1,2\n3,4\n5,6",
  "chartTitle": "Enter chart title...",
  "pointColors": "#3b82f6,#ef4444,#10b981",
  "backgroundColor": "#ffffff",
  "gridColor": "#e0e0e0",
  "pointSize": "5",
  "opacity": "0.8",
  "chartHeight": "400",
  "xMinValue": 0,
  "xMaxValue": 0,
  "yMinValue": 0,
  "yMaxValue": 0,
  "xAxisLabel": "X Values",
  "yAxisLabel": "Y Values",
  "showGrid": true,
  "showPoints": true,
  "showLabels": false,
  "showRegression": false,
  "showLegend": true
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]

Browse tools
Open tool