Generate Chart

v1.0.0

Generate a chart image using Chart.js. Supports line, bar, pie, doughnut, radar, polarArea, bubble, and scatter chart types.

0· 72·1 current·1 all-time
byRishabh Dugar@rishabhdugar

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for rishabhdugar/generate-chart.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Generate Chart" (rishabhdugar/generate-chart) from ClawHub.
Skill page: https://clawhub.ai/rishabhdugar/generate-chart
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install generate-chart

ClawHub CLI

Package manager switcher

npx clawhub@latest install generate-chart
Security Scan
Capability signals
Requires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name, description, SKILL.md, example.json, and skill.json consistently describe a chart-generation API using Chart.js served by pdfapihub.com. The declared API auth header (CLIENT-API-KEY) is appropriate for this purpose.
Instruction Scope
Runtime instructions are narrowly scoped: they show how to POST chart_type, data, options, and sizing to the external API and how to include CLIENT-API-KEY. The instructions do not request unrelated files, system paths, or extra credentials.
Install Mechanism
There is no install step and no code to execute locally (instruction-only). This minimizes filesystem risk; nothing is downloaded or written by the skill itself.
Credentials
The skill requires an API key (CLIENT-API-KEY) to call the third-party service (skill.json marks auth required). The registry metadata shows no required environment variables, which is consistent for an instruction-only skill, but users must supply an API key when calling the API. This is proportionate to the stated function, but remember the API key grants access to a remote service and should be handled as a secret.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent presence or elevated platform privileges. It does not modify other skills or system-wide configuration.
Assessment
This skill simply sends your Chart.js configuration and data to https://pdfapihub.com to get a generated image. Before using it, verify the legitimacy and privacy/retention policy of pdfapihub.com, avoid sending sensitive or personally identifying data to the third-party service, and treat the CLIENT-API-KEY like any secret (use a dedicated key, do not reuse keys across unrelated services, and rotate/revoke if compromised). Test with non-sensitive/dummy data first. If you need chart generation entirely under your control, consider a local/server-side Chart.js renderer instead of a third-party API.

Like a lobster shell, security has layers — review code before you run it.

latestvk97dg78102yx9ww544gbs6dbdd850cwg
72downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

Generate Chart

What It Does

Creates a chart image using the Chart.js library. Supports bar, line, pie, doughnut, radar, polarArea, bubble, and scatter chart types with full Chart.js data and options configuration.

When to Use

  • Generate data visualization charts programmatically
  • Create chart images for reports, dashboards, or emails
  • Produce charts without a browser or frontend

Required Inputs

  • chart_type — one of: line, bar, pie, doughnut, radar, polarArea, bubble, scatter
  • data — Chart.js data object with labels and datasets

Authentication

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Use Cases

  • Dashboard Reports — Generate chart images for PDF/email reports without a browser
  • Sales Analytics — Create bar/line charts showing revenue, growth, or conversion trends
  • Survey Results — Visualize poll or survey data as pie/doughnut charts
  • Financial Reports — Produce stock performance or budget allocation charts
  • Project Metrics — Generate sprint velocity, burn-down, or team performance charts
  • Newsletter Content — Embed data visualizations directly in email newsletters
  • Slack/Discord Bots — Generate chart images on-the-fly for chatbot responses

Key Options

ParameterDescription
chart_typeType of chart (bar, line, pie, etc.)
dataChart.js data config (labels + datasets)
optionsChart.js options (title, legend, scales)
width / heightChart dimensions in pixels
output_formaturl (default), base64, both, image

Example Usage

curl -X POST https://pdfapihub.com/api/v1/generateChart \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "chart_type": "bar",
    "data": {
      "labels": ["Q1", "Q2", "Q3", "Q4"],
      "datasets": [{
        "label": "Revenue",
        "data": [120000, 150000, 180000, 200000],
        "backgroundColor": "rgba(54, 162, 235, 0.6)"
      }]
    },
    "options": { "plugins": { "title": { "display": true, "text": "Quarterly Revenue" } } },
    "width": 800,
    "height": 500,
    "output_format": "url"
  }'

Comments

Loading comments...