Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Box Plot Generator

Generate box plots for statistical distribution analysis with quartiles, whiskers, and outliers

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/box-plot-generator' \
  -H 'Content-Type: application/json' \
  -d '{"chartData":"JSON array format:\n[{"name": "Group A", "values": [23, 25, 28, 32, 35, 38, 42, 45, 48, 52, 55, 58]},\n {"name": "Group B", "values": [18, 22, 24, 27, 29, 31, 33, 35, 37, 39, 41, 43]},\n {"name": "Group C", "values": [15, 18, 20, 22, 25, 28, 30, 32, 35, 38, 40, 42]}]\n\nOr simple values format:\n{\n "Group A": [23, 25, 28, 32, 35, 38, 42, 45, 48, 52, 55, 58],\n "Group B": [18, 22, 24, 27, 29, 31, 33, 35, 37, 39, 41, 43],\n "Group C": [15, 18, 20, 22, 25, 28, 30, 32, 35, 38, 40, 42]\n}\n\nEach group represents a dataset for box plot analysis.","chartTitle":"Box Plot Analysis","orientation":"vertical","boxColor":"#4CAF50","whiskerColor":"#FF5722","medianColor":"#2196F3","outlierColor":"#F44336","showOutliers":true,"showMean":false,"showGrid":true,"showStatistics":true,"boxWidth":40,"outlierSize":4,"chartWidth":"800","chartHeight":"500","marginSize":"60"}'

© 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/box-plot-generator

Parameters

NameTypeRequiredDescription
chartDatatextareaYesData for the box plot. Can be array of objects with name/values or simple key-value pairs
chartTitletextNoTitle that will be displayed above the chart
orientationselectNoOrientation of the box plot
boxColorcolorNoColor for the box fill
whiskerColorcolorNoColor for the whiskers (lines extending from boxes)
medianColorcolorNoColor for the median line inside boxes
outlierColorcolorNoColor for outlier points
showOutlierscheckboxNoDisplay outlier points beyond the whiskers
showMeancheckboxNoDisplay mean value as a diamond shape
showGridcheckboxNoDisplay grid lines for better readability
showStatisticscheckboxNoDisplay statistical information (count, mean, std dev)
boxWidthrangeNoWidth of the boxes (relative)
outlierSizerangeNoSize of outlier points
chartWidthtextNoWidth of the chart in pixels
chartHeighttextNoHeight of the chart in pixels
marginSizetextNoMargin around the chart

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-box-plot-generator": {
      "name": "box-plot-generator",
      "description": "Generate box plots for statistical distribution analysis with quartiles, whiskers, and outliers",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=box-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": "box-plot-generator",
    "arguments": {
  "chartData": "JSON array format:\n[{&quot;name&quot;: &quot;Group A&quot;, &quot;values&quot;: [23, 25, 28, 32, 35, 38, 42, 45, 48, 52, 55, 58]},\n {&quot;name&quot;: &quot;Group B&quot;, &quot;values&quot;: [18, 22, 24, 27, 29, 31, 33, 35, 37, 39, 41, 43]},\n {&quot;name&quot;: &quot;Group C&quot;, &quot;values&quot;: [15, 18, 20, 22, 25, 28, 30, 32, 35, 38, 40, 42]}]\n\nOr simple values format:\n{\n &quot;Group A&quot;: [23, 25, 28, 32, 35, 38, 42, 45, 48, 52, 55, 58],\n &quot;Group B&quot;: [18, 22, 24, 27, 29, 31, 33, 35, 37, 39, 41, 43],\n &quot;Group C&quot;: [15, 18, 20, 22, 25, 28, 30, 32, 35, 38, 40, 42]\n}\n\nEach group represents a dataset for box plot analysis.",
  "chartTitle": "Box Plot Analysis",
  "orientation": "vertical",
  "boxColor": "#4CAF50",
  "whiskerColor": "#FF5722",
  "medianColor": "#2196F3",
  "outlierColor": "#F44336",
  "showOutliers": true,
  "showMean": false,
  "showGrid": true,
  "showStatistics": true,
  "boxWidth": 40,
  "outlierSize": 4,
  "chartWidth": "800",
  "chartHeight": "500",
  "marginSize": "60"
}
  }
}
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