chart-visualization

Generates chart images from data by calling the AntV gpt-vis API via curl.

Updated Aug 3, 2026
One-click install
npx skills add https://github.com/Yvesdefaria/GymLab --skill chart-visualization-yvesdefaria
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chart-visualization
Source: https://github.com/Yvesdefaria/GymLab/tree/main/gymlab-app/.agents/skills/chart-visualization
Command: npx skills add https://github.com/Yvesdefaria/GymLab --skill chart-visualization-yvesdefaria

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning raw data into visual charts normally requires charting libraries, rendering environments, and manual configuration. This Skill converts user-provided data into chart images by calling the AntV gpt-vis API, returning a ready-to-use image URL. ## Core Features & Use Cases - Wide chart type coverage: Supports over 20 chart types including line, bar, column, pie, scatter, radar, sankey, treemap, funnel, word-cloud, network-graph, flow-diagram, mind-map, and spreadsheet tables. - Chart selection guidance: Provides a decision guide mapping data characteristics (time series, comparison, proportion, hierarchy, flow) to the most appropriate chart type. - Customizable output: Supports themes (default, academy, dark), dimensions, titles, axis labels, and hand-drawn texture styles. - Use Case: A user provides monthly workout volume data and asks for a trend chart; the Skill selects a line chart, posts the JSON payload to the API, and returns a Markdown image of the rendered chart. ## Quick Start Generate a line chart from my monthly training data showing the trend over the past year.

Frequently Asked Questions about chart-visualization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a chart image from data using an API?

Send a POST request to the AntV gpt-vis endpoint with a JSON body containing the chart type, a data array, and optional title or theme. The API returns a JSON response whose resultObj field contains the chart image URL.

What chart types does the AntV gpt-vis API support?

It supports over 20 types including line, area, bar, column, pie, scatter, radar, funnel, waterfall, histogram, boxplot, violin, liquid, word-cloud, sankey, treemap, venn, network-graph, flow-diagram, fishbone-diagram, mind-map, organization-chart, and spreadsheet.

How do I choose the right chart type for my data?

Match the chart to your data structure: line or area for time series, bar or column for comparisons, pie or treemap for proportions, scatter for correlations, and sankey or flow-diagram for flows. The Skill includes a selection guide mapping data characteristics to chart types.

Can I customize the chart theme and size?

Yes, the API accepts optional parameters for theme (default, academy, dark), width, height, title, and axis titles. A rough texture style is also available for a hand-drawn look.

What data format does each chart type require?

Each type has a specific schema: line charts take time and value fields, pie charts take category and value, sankey takes source, target, and value, and hierarchical charts like mind-map take nested name and children objects up to three levels deep.