Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Stream Graph Generator

Generate smooth stream graphs for visualizing time-series data flow, perfect for showing changes in composition over time with organic, flowing shapes

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/stream-graph' \
  -H 'Content-Type: application/json' \
  -d '{"chartData":"Multi-series time-series JSON:\n{"labels": ["Jan", "Feb", "Mar", "Apr", "May"],\n  "series": [\n    {"name": "Desktop", "data": [120, 135, 125, 140, 155]},\n    {"name": "Mobile", "data": [80, 95, 110, 125, 140]},\n    {"name": "Tablet", "data": [40, 45, 50, 48, 52]}\n  ]\n}","chartTitle":"Enter chart title...","colorScheme":"default","streamColors":"#3b82f6,#10b981,#f59e0b","streamOpacity":"0.7","curveSmoothness":"0.5","backgroundColor":"#ffffff","gridColor":"#e8e9ea","chartHeight":"500","maxValue":0,"minValue":"0","xAxisLabel":"Time","yAxisLabel":"Value","showGrid":true,"showValues":false,"showDataLabels":true,"normalizeData":false,"showLegend":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/stream-graph

Parameters

NameTypeRequiredDescription
chartDatatextareaYesTime-series data for the stream graph. Each series represents a flowing layer over time.
chartTitletextNoTitle that will be displayed above the chart
colorSchemeselectNo—
streamColorstextNoCustom colors for streams (comma-separated hex colors). Overrides color scheme if provided.
streamOpacitynumberNoOpacity of the stream layers (0.1 to 1.0)
curveSmoothnessnumberNoSmoothness of the stream curves (0.1 to 1.0, higher = smoother)
backgroundColorcolorNoBackground color for the chart container
gridColorcolorNoColor for the grid lines
chartHeightnumberNoHeight of the chart in pixels
maxValuenumberNoMaximum value for Y-axis (leave empty for auto-scale)
minValuenumberNoMinimum value for Y-axis
xAxisLabeltextNoLabel for the X-axis (typically time)
yAxisLabeltextNoLabel for the Y-axis
showGridcheckboxNoDisplay grid lines for better readability
showValuescheckboxNoDisplay values within the stream layers
showDataLabelscheckboxNoDisplay data labels at key points
normalizeDatacheckboxNoConvert values to percentages showing relative contribution over time
showLegendcheckboxNoDisplay a 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-stream-graph": {
      "name": "stream-graph",
      "description": "Generate smooth stream graphs for visualizing time-series data flow, perfect for showing changes in composition over time with organic, flowing shapes",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=stream-graph",
      "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": "stream-graph",
    "arguments": {
  "chartData": "Multi-series time-series JSON:\n{&quot;labels&quot;: [&quot;Jan&quot;, &quot;Feb&quot;, &quot;Mar&quot;, &quot;Apr&quot;, &quot;May&quot;],\n  &quot;series&quot;: [\n    {&quot;name&quot;: &quot;Desktop&quot;, &quot;data&quot;: [120, 135, 125, 140, 155]},\n    {&quot;name&quot;: &quot;Mobile&quot;, &quot;data&quot;: [80, 95, 110, 125, 140]},\n    {&quot;name&quot;: &quot;Tablet&quot;, &quot;data&quot;: [40, 45, 50, 48, 52]}\n  ]\n}",
  "chartTitle": "Enter chart title...",
  "colorScheme": "default",
  "streamColors": "#3b82f6,#10b981,#f59e0b",
  "streamOpacity": "0.7",
  "curveSmoothness": "0.5",
  "backgroundColor": "#ffffff",
  "gridColor": "#e8e9ea",
  "chartHeight": "500",
  "maxValue": 0,
  "minValue": "0",
  "xAxisLabel": "Time",
  "yAxisLabel": "Value",
  "showGrid": true,
  "showValues": false,
  "showDataLabels": true,
  "normalizeData": false,
  "showLegend": 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