Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Matrix Chart Generator

Generate correlation and comparison matrix charts with color intensity mapping and grid layout

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/matrix-chart-generator' \
  -H 'Content-Type: application/json' \
  -d '{"matrixData":"JSON format:\n[\n  [1, 0.8, 0.3, 0.5],\n  [0.8, 1, 0.6, 0.4],\n  [0.3, 0.6, 1, 0.7],\n  [0.5, 0.4, 0.7, 1]\n]\n\nor CSV format:\n1,0.8,0.3,0.5\n0.8,1,0.6,0.4\n0.3,0.6,1,0.7\n0.5,0.4,0.7,1","chartTitle":"Enter chart title...","colorScheme":"blue","backgroundColor":"#ffffff","cellSize":"50","fontSize":"12","minValue":0,"maxValue":0,"chartWidth":"800","chartHeight":"600","showValues":true,"showLabels":false,"showGrid":true,"roundValues":false}'

© 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/matrix-chart-generator

Parameters

NameTypeRequiredDescription
matrixDatatextareaYesMatrix data as 2D array. Supports JSON array or CSV format with comma-separated values
chartTitletextNoTitle that will be displayed above the matrix chart
colorSchemeselectNo—
backgroundColorcolorNoBackground color for the chart
cellSizenumberNoSize of each cell in pixels
fontSizenumberNoFont size for cell values
minValuenumberNoMinimum value for color scale (leave empty for auto)
maxValuenumberNoMaximum value for color scale (leave empty for auto)
chartWidthnumberNoWidth of the chart in pixels
chartHeightnumberNoHeight of the chart in pixels
showValuescheckboxNoDisplay numeric values inside cells
showLabelscheckboxNoDisplay row and column labels (if available)
showGridcheckboxNoDisplay grid lines between cells
roundValuescheckboxNoRound values to whole numbers for display

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-matrix-chart-generator": {
      "name": "matrix-chart-generator",
      "description": "Generate correlation and comparison matrix charts with color intensity mapping and grid layout",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=matrix-chart-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": "matrix-chart-generator",
    "arguments": {
  "matrixData": "JSON format:\n[\n  [1, 0.8, 0.3, 0.5],\n  [0.8, 1, 0.6, 0.4],\n  [0.3, 0.6, 1, 0.7],\n  [0.5, 0.4, 0.7, 1]\n]\n\nor CSV format:\n1,0.8,0.3,0.5\n0.8,1,0.6,0.4\n0.3,0.6,1,0.7\n0.5,0.4,0.7,1",
  "chartTitle": "Enter chart title...",
  "colorScheme": "blue",
  "backgroundColor": "#ffffff",
  "cellSize": "50",
  "fontSize": "12",
  "minValue": 0,
  "maxValue": 0,
  "chartWidth": "800",
  "chartHeight": "600",
  "showValues": true,
  "showLabels": false,
  "showGrid": true,
  "roundValues": false
}
  }
}
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