Data Visualization
Create pictographs using icons/symbols to represent quantities with customizable icons, colors, and layouts
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/pictograph-generator' \
-H 'Content-Type: application/json' \
-d '{"chartTitle":"Enter chart title...","dataItems":"JSON format example:\n[{"label": "Product A Sales", "value": 25, "color": "#3b82f6"},\n{"label": "Product B Sales", "value": 40, "color": "#ef4444"},\n{"label": "Product C Sales", "value": 15, "color": "#10b981"}]","iconType":"person","customIcon":"🎯","iconValue":"1","iconSize":"30","iconSpacing":"5","maxIconsPerRow":"10","layout":"flex","orientation":"left","customColor":"#3b82f6","backgroundColor":"#ffffff","borderColor":"#transparent","borderWidth":"0","fontSize":"14","titleSize":"24","fontWeight":"normal","titleWeight":"bold","titleColor":"#333333","showValues":true,"showLabels":true,"showLegend":true,"animationEnabled":true,"roundedCorners":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/pictograph-generator| Name | Type | Required | Description |
|---|---|---|---|
| chartTitle | text | No | Title that will be displayed above the pictograph |
| dataItems | textarea | Yes | Data items as JSON array with label, value, and optional color properties |
| iconType | select | Yes | — |
| customIcon | text | No | Custom icon emoji when "Custom Icon" is selected |
| iconValue | number | Yes | Value represented by each icon |
| iconSize | number | No | Size of each icon in pixels |
| iconSpacing | number | No | Space between icons in pixels |
| maxIconsPerRow | number | No | Maximum number of icons per row (0 = unlimited) |
| layout | select | No | — |
| orientation | select | No | — |
| customColor | color | No | Default color for icons (can be overridden by individual item colors) |
| backgroundColor | color | No | Background color for the chart |
| borderColor | color | No | Border color for icons |
| borderWidth | number | No | Border width in pixels |
| fontSize | number | No | Font size for labels and values |
| titleSize | number | No | Font size for the chart title |
| fontWeight | select | No | — |
| titleWeight | select | No | — |
| titleColor | color | No | Color for the chart title |
| showValues | checkbox | No | Display numeric values next to labels |
| showLabels | checkbox | No | Display category labels |
| showLegend | checkbox | No | Display legend showing icon value |
| animationEnabled | checkbox | No | Animate icons on load |
| roundedCorners | checkbox | No | Apply rounded corners to icons |
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-pictograph-generator": {
"name": "pictograph-generator",
"description": "Create pictographs using icons/symbols to represent quantities with customizable icons, colors, and layouts",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=pictograph-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": "pictograph-generator",
"arguments": {
"chartTitle": "Enter chart title...",
"dataItems": "JSON format example:\n[{"label": "Product A Sales", "value": 25, "color": "#3b82f6"},\n{"label": "Product B Sales", "value": 40, "color": "#ef4444"},\n{"label": "Product C Sales", "value": 15, "color": "#10b981"}]",
"iconType": "person",
"customIcon": "🎯",
"iconValue": "1",
"iconSize": "30",
"iconSpacing": "5",
"maxIconsPerRow": "10",
"layout": "flex",
"orientation": "left",
"customColor": "#3b82f6",
"backgroundColor": "#ffffff",
"borderColor": "#transparent",
"borderWidth": "0",
"fontSize": "14",
"titleSize": "24",
"fontWeight": "normal",
"titleWeight": "bold",
"titleColor": "#333333",
"showValues": true,
"showLabels": true,
"showLegend": true,
"animationEnabled": true,
"roundedCorners": false
}
}
}Questions or issues? Contact [email protected]