Data Visualization
Bin numeric data into intervals and draw a histogram to visualize a statistical distribution
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/histogram-maker' \
-H 'Content-Type: application/json' \
-d '{"dataValues":"55,60,62,65,67,68,70,71,72,72,73,74,75,76,77,78,78,79,80,81,82,83,84,85,86,87,88,90,92,95","binningMethod":"auto","numberOfBins":10,"showNormalCurve":true,"showStatistics":true,"colorScheme":"default"}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/histogram-maker| Name | Type | Required | Description |
|---|---|---|---|
| dataValues | textarea | Yes | A list of numeric values to bin and plot |
| binningMethod | select | Yes | — |
| numberOfBins | number | No | — |
| showNormalCurve | checkbox | No | — |
| showStatistics | checkbox | No | — |
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-histogram-maker": {
"name": "histogram-maker",
"description": "Bin numeric data into intervals and draw a histogram to visualize a statistical distribution",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=histogram-maker",
"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": "histogram-maker",
"arguments": {
"dataValues": "55,60,62,65,67,68,70,71,72,72,73,74,75,76,77,78,78,79,80,81,82,83,84,85,86,87,88,90,92,95",
"binningMethod": "auto",
"numberOfBins": 10,
"showNormalCurve": true,
"showStatistics": true,
"colorScheme": "default"
}
}
}Questions or issues? Contact [email protected]
| colorScheme |
| select |
| Yes |
| — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}