Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Heatmap Generator

Generate customizable heatmaps from data, perfect for visualizing data density, correlations, and patterns

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/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}'

© 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/heatmap-generator

Parameters

NameTypeRequiredDescription
chartDatatextareaYesData for the heatmap. Supports JSON object with rows/columns/data or CSV format
chartTitletextNoTitle that will be displayed above the chart
colorSchemeselectNo—
customColorstextNoCustom color gradient (comma-separated hex colors, requires Custom scheme)
cellSizenumberNoSize of each heatmap cell in pixels
cellPaddingnumberNoPadding between cells in pixels
minValuenumberNoMinimum value for color scale (leave empty for auto)
maxValuenumberNoMaximum value for color scale (leave empty for auto)
backgroundColorcolorNoBackground color for the chart container
showValuescheckboxNoDisplay values inside the heatmap cells
showLabelscheckboxNoDisplay labels for rows and columns
roundValuescheckboxNoRound values to whole numbers for display
showColorScalecheckboxNoDisplay color scale legend below 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-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"
    }
  }
}

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": "heatmap-generator",
    "arguments": {
  "chartData": "JSON format:\n{\n  &quot;rows&quot;: [&quot;Mon&quot;, &quot;Tue&quot;, &quot;Wed&quot;, &quot;Thu&quot;, &quot;Fri&quot;],\n  &quot;columns&quot;: [&quot;Week 1&quot;, &quot;Week 2&quot;, &quot;Week 3&quot;, &quot;Week 4&quot;],\n  &quot;data&quot;: [\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
}
  }
}
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