Tools / Generate Chart
Generate Chart icon

Generate Chart

Turn data into chart images fast

Convert raw numbers into professional chart images in seconds. Supports bar, line, pie, doughnut, radar, scatter, and more with automatic colors and custom dimensions. Returns a permanent shareable URL and downloadable image. Simple data input or full Chart.js config for precise control.

1 skillv0.02
Create Chart

Generate a chart image from data. Provide either a simplified input (type, labels, datasets) or a full Chart.js config for advanced control. Returns a permanent URL that renders the chart on-demand, plus a downloadable image when storage is available.

Returns: Short permanent URL to view the chart image, inline base64 image for supported clients, chart dimensions, and the Chart.js config used
Parameters
typestringChart type. Defaults to "bar". Ignored if "config" is provided.
titlestringChart title displayed at the top. Ignored if "config" is provided.
labelsarrayX-axis labels (e.g. ["Jan", "Feb", "Mar"]). Ignored if "config" is provided.
datasetsarrayOne or more datasets to plot. Each needs at least a "data" array. Required unless "config" is provided.
configobjectFull Chart.js config for advanced control. Overrides type/title/labels/datasets when provided.
widthnumberChart width in pixels (default 600)
heightnumberChart height in pixels (default 400)
formatstringOutput image format (default "png")
background_colorstringChart background color (CSS color, default "white"). Use "transparent" for no background.
Example
Simple bar chart with revenue data
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "generate-chart",
  "skill": "create_chart",
  "input": {
    "type": "bar",
    "title": "Quarterly Revenue",
    "labels": [
      "Q1",
      "Q2",
      "Q3",
      "Q4"
    ],
    "datasets": [
      {
        "label": "Revenue ($k)",
        "data": [
          120,
          180,
          150,
          220
        ]
      }
    ]
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Loading reviews...
Loading activity...
v0.022026-03-22
  • Added subtitle, expanded description, and agent instructions
v0.012026-03-20
  • Initial release

Quick Start

MCP (Claude Code)
claude mcp add --transport stdio \
  --env TOOLROUTER_API_KEY=YOUR_API_KEY \
  toolrouter -- npx -y toolrouter-mcp
REST API
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{"tool":"generate-chart","skill":"create_chart","input":{}}' \
  https://api.toolrouter.com/v1/tools/call

Use Cases

Open Create Visualizations for Reports

Create Visualizations for Reports

Generate professional charts and graphs for business reports, presentations, and executive summaries.

Generate Chart icon
Generate Chart
4 agent guides
Open Search Papers by Topic

Search Papers by Topic

Find relevant academic papers on any research topic across millions of scholarly publications.

Academic Research icon
Academic Research
4 agent guides
Open Geocode Addresses to Coordinates

Geocode Addresses to Coordinates

Convert street addresses into precise latitude and longitude coordinates for mapping and spatial analysis.

Address Geocoding icon
Address Geocoding
4 agent guides
View all use cases for Generate Chart

Workflows

Open Automated Video Reports

Automated Video Reports

Transform data into engaging video reports with auto-generated charts, animated presentations, and narrated insights.

Generate Chart icon
Generate Chart
Generate Video icon
Generate Video
Voice Generator icon
Voice Generator
Video Editor icon
Video Editor
4 steps4 tools
Open Animated Infographic

Animated Infographic

Build animated infographic videos with data charts, custom illustrations, motion graphics, and background music.

Generate Chart icon
Generate Chart
Generate Image icon
Generate Image
Generate Video icon
Generate Video
Music Generator icon
Music Generator
4 steps4 tools
Open Market Intelligence Report

Market Intelligence Report

Generate a comprehensive market intelligence report combining deep research, competitive analysis, live news, and data visualizations.

Deep Research icon
Deep Research
Competitor Research icon
Competitor Research
Web Search icon
Web Search
Generate Chart icon
Generate Chart
4 steps4 tools
Open Financial Due Diligence

Financial Due Diligence

Perform financial due diligence by extracting SEC filing data, gathering analyst insights, assessing macroeconomic conditions, and visualizing results.

SEC Filings icon
SEC Filings
Stock Market icon
Stock Market
World Economy icon
World Economy
Generate Chart icon
Generate Chart
4 steps4 tools
View all 15workflows →

Frequently Asked Questions

What kinds of charts can I make?

You can create bar, line, pie, doughnut, radar, scatter, and other common chart types.

Do I need a full Chart.js config?

No. Simple data input works for most cases, but you can pass a full config when you need exact control.

Does the chart come with a shareable link?

Yes. The response includes a permanent chart URL you can embed or share directly.

What size should I use for presentations?

The default is 600x400 px, and you can increase width and height when you want a larger export.