Data Visualization
Generate customizable progress bars from data, perfect for showing completion status, rankings, or comparative values
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/progress-bar-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"JSON format:\n[{"label": "Task A", "value": 75},\n{"label": "Task B", "value": 60},\n{"label": "Task C", "value": 90},\n{"label": "Task D", "value": 45}]\n\nor text format:\nTask A:75\nTask B:60\nTask C:90\nTask D:45","chartTitle":"Enter chart title...","orientation":"horizontal","barStyle":"solid","barColors":"#3b82f6,#ef4444,#10b981","barHeight":"30","maxValue":0,"minValue":0,"targetValue":0,"backgroundColor":"#ffffff","showPercentage":true,"showValues":true,"animated":true,"rounded":true,"showTarget":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/progress-bar-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Data for the progress bars. Supports JSON array or simple label:value text format |
| chartTitle | text | No | Title that will be displayed above the chart |
| orientation | select | No | — |
| barStyle | select | No | — |
| barColors | text | No | Colors for progress bars (comma-separated hex colors). Leave empty for default colors. |
| barHeight | number | No | Height of horizontal bars or width of vertical bars in pixels |
| maxValue | number | No | Maximum value for the progress scale (leave empty for auto-scale) |
| minValue | number | No | Minimum value for the progress scale |
| targetValue | number | No | Target value to display as a reference line |
| backgroundColor | color | No | Background color for the chart container |
| showPercentage | checkbox | No | Display percentage values on the progress bars |
| showValues | checkbox | No | Display actual values on the progress bars |
| animated | checkbox | No | Animate the progress bars when they load |
| rounded | checkbox | No | Use rounded corners for progress bars |
| showTarget | checkbox | No | Display a reference line for the target value |
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-progress-bar-generator": {
"name": "progress-bar-generator",
"description": "Generate customizable progress bars from data, perfect for showing completion status, rankings, or comparative values",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=progress-bar-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": "progress-bar-generator",
"arguments": {
"chartData": "JSON format:\n[{"label": "Task A", "value": 75},\n{"label": "Task B", "value": 60},\n{"label": "Task C", "value": 90},\n{"label": "Task D", "value": 45}]\n\nor text format:\nTask A:75\nTask B:60\nTask C:90\nTask D:45",
"chartTitle": "Enter chart title...",
"orientation": "horizontal",
"barStyle": "solid",
"barColors": "#3b82f6,#ef4444,#10b981",
"barHeight": "30",
"maxValue": 0,
"minValue": 0,
"targetValue": 0,
"backgroundColor": "#ffffff",
"showPercentage": true,
"showValues": true,
"animated": true,
"rounded": true,
"showTarget": false
}
}
}Questions or issues? Contact [email protected]