Data Visualization
Generate box plots for statistical distribution analysis with quartiles, whiskers, and outliers
Call this tool from your code in three languages.
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"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/box-plot-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Data for the box plot. Can be array of objects with name/values or simple key-value pairs |
| chartTitle | text | No | Title that will be displayed above the chart |
| orientation | select | No | Orientation of the box plot |
| boxColor | color | No | Color for the box fill |
| whiskerColor | color | No | Color for the whiskers (lines extending from boxes) |
| medianColor | color | No | Color for the median line inside boxes |
| outlierColor | color | No | Color for outlier points |
| showOutliers | checkbox | No | Display outlier points beyond the whiskers |
| showMean | checkbox | No | Display mean value as a diamond shape |
| showGrid | checkbox | No | Display grid lines for better readability |
| showStatistics | checkbox | No | Display statistical information (count, mean, std dev) |
| boxWidth | range | No | Width of the boxes (relative) |
| outlierSize | range | No | Size of outlier points |
| chartWidth | text | No | Width of the chart in pixels |
| chartHeight | text | No | Height of the chart in pixels |
| marginSize | text | No | Margin around the chart |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"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"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "box-plot-generator",
"arguments": {
"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"
}
}
}Questions or issues? Contact [email protected]