Data Visualization
Generate customizable heatmaps from data, perfect for visualizing data density, correlations, and patterns
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/heatmap-generator' \
-H 'Content-Type: application/json' \
-d '{"chartData":"JSON format:\n{\n "rows": ["Mon", "Tue", "Wed", "Thu", "Fri"],\n "columns": ["Week 1", "Week 2", "Week 3", "Week 4"],\n "data": [\n [65, 59, 80, 81],\n [28, 48, 40, 19],\n [45, 67, 89, 90],\n [81, 59, 67, 88],\n [56, 78, 98, 87]\n ]\n}\n\nor CSV format:\nWeek 1,Week 2,Week 3,Week 4\n65,59,80,81\n28,48,40,19\n45,67,89,90\n81,59,67,88\n56,78,98,87","chartTitle":"Enter chart title...","colorScheme":"default","customColors":"#3b82f6,#10b981,#f59e0b,#ef4444","cellSize":"50","cellPadding":"2","minValue":0,"maxValue":0,"backgroundColor":"#ffffff","showValues":true,"showLabels":true,"roundValues":false,"showColorScale":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/heatmap-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartData | textarea | Yes | Data for the heatmap. Supports JSON object with rows/columns/data or CSV format |
| chartTitle | text | No | Title that will be displayed above the chart |
| colorScheme | select | No | — |
| customColors | text | No | Custom color gradient (comma-separated hex colors, requires Custom scheme) |
| cellSize | number | No | Size of each heatmap cell in pixels |
| cellPadding | number | No | Padding between cells in pixels |
| minValue | number | No | Minimum value for color scale (leave empty for auto) |
| maxValue | number | No | Maximum value for color scale (leave empty for auto) |
| backgroundColor | color | No | Background color for the chart container |
| showValues | checkbox | No | Display values inside the heatmap cells |
| showLabels | checkbox | No | Display labels for rows and columns |
| roundValues | checkbox | No | Round values to whole numbers for display |
| showColorScale | checkbox | No | Display color scale 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-heatmap-generator": {
"name": "heatmap-generator",
"description": "Generate customizable heatmaps from data, perfect for visualizing data density, correlations, and patterns",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=heatmap-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": "heatmap-generator",
"arguments": {
"chartData": "JSON format:\n{\n "rows": ["Mon", "Tue", "Wed", "Thu", "Fri"],\n "columns": ["Week 1", "Week 2", "Week 3", "Week 4"],\n "data": [\n [65, 59, 80, 81],\n [28, 48, 40, 19],\n [45, 67, 89, 90],\n [81, 59, 67, 88],\n [56, 78, 98, 87]\n ]\n}\n\nor CSV format:\nWeek 1,Week 2,Week 3,Week 4\n65,59,80,81\n28,48,40,19\n45,67,89,90\n81,59,67,88\n56,78,98,87",
"chartTitle": "Enter chart title...",
"colorScheme": "default",
"customColors": "#3b82f6,#10b981,#f59e0b,#ef4444",
"cellSize": "50",
"cellPadding": "2",
"minValue": 0,
"maxValue": 0,
"backgroundColor": "#ffffff",
"showValues": true,
"showLabels": true,
"roundValues": false,
"showColorScale": true
}
}
}Questions or issues? Contact [email protected]