Data Visualization
Generate customizable bubble charts from data with three dimensions (x, y, size)
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/bubble-chart-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"JSON format:\n[{"label": "Product A", "x": 20, "y": 30, "size": 15},\n{"label": "Product B", "x": 40, "y": 60, "size": 25},\n{"label": "Product C", "x": 60, "y": 45, "size": 20}]\n\nor text format:\nProduct A,20,30,15\nProduct B,40,60,25\nProduct C,60,45,20","chartTitle":"Enter chart title...","colorScheme":"default","bubbleColor":"#3b82f6","bubbleOpacity":"0.7","bubbleScale":"1.0","backgroundColor":"#ffffff","gridColor":"#e0e0e0","chartHeight":"500","xMaxValue":0,"yMaxValue":0,"xMinValue":0,"yMinValue":0,"xAxisLabel":"X Axis","yAxisLabel":"Y Axis","showGrid":true,"showValues":true,"showLegend":true}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/bubble-chart-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Data for the chart. Can be JSON array or simple label,x,y,size pairs |
| chartTitle | text | No | Title that will be displayed above the chart |
| colorScheme | select | No | — |
| bubbleColor | color | No | Primary color for the bubbles (used if color scheme is not rainbow) |
| bubbleOpacity | number | No | Opacity of bubbles (0.1 to 1.0) |
| bubbleScale | number | No | Scale factor for bubble sizes |
| backgroundColor | color | No | Background color for the chart container |
| gridColor | color | No | Color for the grid lines |
| chartHeight | number | No | Height of the chart in pixels |
| xMaxValue | number | No | Maximum value for X-axis (leave empty for auto-scale) |
| yMaxValue | number | No | Maximum value for Y-axis (leave empty for auto-scale) |
| xMinValue | number | No | Minimum value for X-axis (leave empty for auto-scale) |
| yMinValue | number | No | Minimum value for Y-axis (leave empty for auto-scale) |
| xAxisLabel | text | No | Label for the X-axis |
| yAxisLabel | text | No | Label for the Y-axis |
| showGrid | checkbox | No | Display grid lines for better readability |
| showValues | checkbox | No | Display labels on bubbles |
| showLegend | checkbox | No | Display a legend below 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-bubble-chart-generator": {
"name": "bubble-chart-generator",
"description": "Generate customizable bubble charts from data with three dimensions (x, y, size)",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=bubble-chart-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": "bubble-chart-generator",
"arguments": {
"chartData": "JSON format:\n[{"label": "Product A", "x": 20, "y": 30, "size": 15},\n{"label": "Product B", "x": 40, "y": 60, "size": 25},\n{"label": "Product C", "x": 60, "y": 45, "size": 20}]\n\nor text format:\nProduct A,20,30,15\nProduct B,40,60,25\nProduct C,60,45,20",
"chartTitle": "Enter chart title...",
"colorScheme": "default",
"bubbleColor": "#3b82f6",
"bubbleOpacity": "0.7",
"bubbleScale": "1.0",
"backgroundColor": "#ffffff",
"gridColor": "#e0e0e0",
"chartHeight": "500",
"xMaxValue": 0,
"yMaxValue": 0,
"xMinValue": 0,
"yMinValue": 0,
"xAxisLabel": "X Axis",
"yAxisLabel": "Y Axis",
"showGrid": true,
"showValues": true,
"showLegend": true
}
}
}Questions or issues? Contact [email protected]