Categories

Stacked Bar Chart Generator

Generate interactive stacked bar charts to visualize categorical data composition, perfect for comparing multiple data series across categories

Data for the stacked bar chart in JSON format with category, series, and value fields

Title that will be displayed above the chart

JSON array of hex colors (requires Custom Colors selection)

Height of the chart in pixels (min: 300, max: 800)

Spacing between bars (0.1 - 0.5)

Background color for the chart container

Display values or percentages on the bars

Display color legend for series

Display horizontal grid lines

Animate bars when chart loads

Show percentages instead of values on bars

Show detailed information on hover

API Documentation

Request Endpoint

POST /en/api/tools/stacked-bar-chart

Request Parameters

Parameter Name Type Required Description
chartData textarea Yes Data for the stacked bar chart in JSON format with category, series, and value fields
chartTitle text No Title that will be displayed above the chart
colorScheme select No -
customColors textarea No JSON array of hex colors (requires Custom Colors selection)
valueFormat select No -
chartHeight number No Height of the chart in pixels (min: 300, max: 800)
barSpacing number No Spacing between bars (0.1 - 0.5)
backgroundColor color No Background color for the chart container
showValues checkbox No Display values or percentages on the bars
showLegend checkbox No Display color legend for series
showGrid checkbox No Display horizontal grid lines
showAnimation checkbox No Animate bars when chart loads
showPercentage checkbox No Show percentages instead of values on bars
enableTooltip checkbox No Show detailed information on hover

Response Format

{
  "result": "
Processed HTML content
", "error": "Error message (optional)", "message": "Notification message (optional)", "metadata": { "key": "value" } }
HTML: HTML

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-stacked-bar-chart": {
      "name": "stacked-bar-chart",
      "description": "Generate interactive stacked bar charts to visualize categorical data composition, perfect for comparing multiple data series across categories",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=stacked-bar-chart",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]