Data Visualization
Draw a Venn diagram for 2 to 4 sets, labeling each region with its size and intersections
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/venn-diagram-maker' \
-H 'Content-Type: application/json' \
-d '{"setsData":"{\n \"sets\": [\n { \"name\": \"Search\", \"size\": 30 },\n { \"name\": \"Filters\", \"size\": 25 },\n { \"name\": \"Export\", \"size\": 20 }\n ],\n \"intersections\": {\n \"Search+Filters\": 10,\n \"Search+Export\": 6,\n \"Filters+Export\": 5,\n \"Search+Filters+Export\": 2\n }\n}","chartTitle":"Feature Adoption","colorScheme":"default","showLabels":true,"showValues":true,"circleOpacity":45}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/venn-diagram-maker| Name | Type | Required | Description |
|---|---|---|---|
| setsData | textarea | Yes | JSON with 2–4 sets (name + size) and optional intersection values keyed like "A+B" |
| chartTitle | text | No | — |
| colorScheme | select | Yes | — |
| showLabels | checkbox | No | — |
| showValues | 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-venn-diagram-maker": {
"name": "venn-diagram-maker",
"description": "Draw a Venn diagram for 2 to 4 sets, labeling each region with its size and intersections",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=venn-diagram-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": "venn-diagram-maker",
"arguments": {
"setsData": "{\n \"sets\": [\n { \"name\": \"Search\", \"size\": 30 },\n { \"name\": \"Filters\", \"size\": 25 },\n { \"name\": \"Export\", \"size\": 20 }\n ],\n \"intersections\": {\n \"Search+Filters\": 10,\n \"Search+Export\": 6,\n \"Filters+Export\": 5,\n \"Search+Filters+Export\": 2\n }\n}",
"chartTitle": "Feature Adoption",
"colorScheme": "default",
"showLabels": true,
"showValues": true,
"circleOpacity": 45
}
}
}| circleOpacity | range | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]