chartgen
Chartgen skill providing three core functions: data analysis, data interpretation, and data visualization. **Use Cases**: (1) Data Analysis - Statistics, filtering, aggregation, calculation (e.g., "Calculate total sales", "Filter data greater than 100") (2) Data Interpretation - Trend analysis, pattern discovery, report generation (e.g., "Analyze sales trends", "Interpret data changes") (3) Data Visualization - Chart generation, data display (e.g., "Draw a bar chart", "Generate a pie chart") **Trigger Keywords**: analyze data, statistics, calculate, interpret trends, generate chart, visualize, plot **Prerequisites**: Set environment variable CHARTGEN_API_KEY (obtain from chartgen.ai)
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chartgen-ai/analysis-dataChartGen AI Chart Generator
AI-powered chart generator that creates professional visualizations through natural language. Built on ChartGen AI engine.
Overview
Transform your data into stunning, interactive charts with simple natural language commands. No coding required - just describe the chart you want, and ChartGen AI generates it instantly.
This skill supports Text-to-Chart, Text-to-SQL, and Text-to-Data analysis. Simply provide Excel/CSV files or JSON data, describe your visualization needs in plain language, and get interactive ECharts visualizations, structured analysis reports, and AI-driven insights.
Powered by ChartGen AI engine, supporting multiple chart types including bar, line, pie, scatter, area, and more. Optimized for business analytics and data storytelling.
API Service: This skill uses the ChartGen API service hosted at chartgen.ai. All data is sent to https://chartgen.ai/api/platform_api/ for processing.
Quick Start
1. Apply for an API Key
You can easily create and manage your API Key at chartgen.ai. To begin with, you need to register for an account.
Steps:
- Visit chartgen.ai and sign up for an account
- Access the API management dashboard
- Create a new API and set the credit consumption limit
- Copy the API Key for use
2. Configure Environment Variable
export CHARTGEN_API_KEY="your-api-key-here"
3. Run Scripts
# Generate Chart (Text-to-Chart)
python scripts/data_visualization.py --query "Draw a bar chart of sales by region" --file sales.xlsx
# Data Analysis
python scripts/data_analysis.py --query "Calculate total sales by region" --file sales.xlsx
# Data Interpretation
python scripts/data_interpretation.py --query "Analyze sales trends" --file sales.xlsx
Credit Rules
- Calling a single tool consumes 20 credits
- You get 200 free credits per month for free accounts
- When credits run out, you can purchase more or upgrade your account on the chartgen.ai Billing page
Scripts Reference
| Script | Function | Use Case |
|---|---|---|
data_visualization.py | Chart Generation | Text-to-Chart, create bar/line/pie/scatter charts |
data_analysis.py | Data Analysis | Statistics, filtering, aggregation, calculation |
data_interpretation.py | Insight Generation | Trend analysis, pattern discovery, report generation |
Parameters
Common Parameters
| Parameter | Required | Description |
|---|---|---|
--query | Yes | Natural language query statement |
--file | No | Local file path (.xlsx/.xls/.csv), mutually exclusive with --json |
--json | No | JSON data (string or file path), mutually exclusive with --file |
Visualization Specific Parameters
| Parameter | Description | |------...
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chartgen-ai-analysis-data": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
excel-data-helper
Excel/CSV data quality diagnosis & interactive charts — 20+ scan modules, 6-dimension scoring, agent-powered semantic analysis, and any ECharts visualization. Fully local. Activate this skill whenever the user uploads, attaches, or mentions a .csv, .xlsx, .xls, or .tsv file, even without an explicit request. Present the skill menu immediately.
data-analysis-pro
Data analysis pro skill providing three core functions: data analysis, data interpretation, and data visualization. **Use Cases**: (1) Data Analysis - Statistics, filtering, aggregation, calculation (e.g., "Calculate total sales", "Filter data greater than 100") (2) Data Interpretation - Trend analysis, pattern discovery, report generation (e.g., "Analyze sales trends", "Interpret data changes") (3) Data Visualization - Chart generation, data display (e.g., "Draw a bar chart", "Generate a pie chart") **Trigger Keywords**: analyze data, statistics, calculate, interpret trends, generate chart, visualize, plot **Prerequisites**: Set environment variable CHARTGEN_API_KEY (obtain from chartgen.ai)
chartgen
Use this skill when the user wants to create visualizations (charts, dashboards, diagrams, Gantt, PPT), analyze data (Excel/CSV upload, cross-file analysis, trends, outliers) or generate reports. Also use when the user mentions ChartGen or uploads spreadsheet files.
chartgen
Use this skill when the user wants to create visualizations (charts, dashboards, diagrams, Gantt, PPT), analyze data (Excel/CSV upload, cross-file analysis, trends, outliers) or generate reports. Also use when the user mentions ChartGen or uploads spreadsheet files.
chartgen
Use this skill when the user wants to create visualizations (charts, dashboards, diagrams, Gantt, PPT), analyze data (Excel/CSV upload, cross-file analysis, trends, outliers) or generate reports. Also use when the user mentions ChartGen or uploads spreadsheet files.