skills/chart-generation/SKILL.md
Auto-invoke AntVis MCP for data visualization and chart creation
npx skillsauth add globallayer/claude-code-skills chart-generationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automatically invokes AntVis Chart MCP when tasks involve:
This skill activates when the user mentions:
npm install -g @antv/mcp-server-chart
| Category | Types | |----------|-------| | Basic | Area, Bar, Column, Line, Pie, Scatter | | Advanced | Treemap, Sankey, Radar, Heatmap | | Statistical | Box Plot, Histogram, Violin | | Hierarchical | Sunburst, Circle Packing | | Network | Force Graph, Chord | | Geographic | China Maps | | Text | Word Cloud |
When generating charts, use the AntVis MCP server:
{
"mcpServers": {
"chart": {
"command": "npx",
"args": ["-y", "@antv/mcp-server-chart"]
}
}
}
// Sales funnel visualization
const funnelData = [
{ stage: 'Visitors', value: 10000 },
{ stage: 'Leads', value: 2500 },
{ stage: 'Qualified', value: 800 },
{ stage: 'Proposals', value: 300 },
{ stage: 'Closed', value: 100 }
];
// Revenue by category
const categoryRevenue = [
{ category: 'Electronics', revenue: 125000 },
{ category: 'Components', revenue: 89000 },
{ category: 'Equipment', revenue: 67000 }
];
// User engagement by zodiac sign
const zodiacEngagement = [
{ sign: 'Aries', users: 1200, engagement: 0.85 },
{ sign: 'Taurus', users: 1100, engagement: 0.78 },
// ... all 12 signs
];
// Daily active users trend
const dauTrend = [
{ date: '2026-05-01', dau: 5200 },
{ date: '2026-05-02', dau: 5400 },
// ... daily data
];
// Product performance
const productPerformance = [
{ product: 'Indoor Plants', sales: 450, views: 12000 },
{ product: 'Outdoor Plants', sales: 320, views: 8500 },
{ product: 'Accessories', sales: 280, views: 6000 }
];
// Traffic sources
const trafficSources = [
{ source: 'Organic', value: 45 },
{ source: 'Direct', value: 25 },
{ source: 'Social', value: 20 },
{ source: 'Referral', value: 10 }
];
// Fetch data from Supabase for charting
import { createClient } from '@supabase/supabase-js';
const supabase = createClient(SUPABASE_URL, SUPABASE_ANON_KEY);
const getChartData = async () => {
const { data, error } = await supabase
.from('analytics')
.select('date, metric, value')
.gte('date', '2026-01-01')
.order('date');
return data;
};
User: "Create a dashboard showing Merka2a sales by category"
Claude: [Invokes chart-generation skill]
1. Queries sales data from Supabase
2. Uses AntVis MCP to generate:
- Pie chart for category distribution
- Line chart for trend over time
- Bar chart for top products
3. Returns embeddable chart components
development
Analyze cryptographic code to detect operations that leak secret data through execution timing variations.
tools
Automate Confluence page creation, content search, space management, labels, and hierarchy navigation via Rube MCP (Composio). Always search tools first for current schemas.
development
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
testing
Validates Conductor project artifacts for completeness, consistency, and correctness. Use after setup, when diagnosing issues, or before implementation to verify project context.