In the Skill's Own Terms
This skill turns user data into charts by calling AntV's chart-generation API. It analyzes the data and the user's request to pick the most fitting chart type from a wide catalog (bar, line, pie, radar, sankey, mind-map, flow-diagram, and more), builds a JSON request body with the required type and source fields, calls the API with curl, and outputs the returned image URL as a Markdown image.
It documents the data-shape contract for each of the roughly 20 supported chart types plus shared optional parameters like theme, width, height and title, giving the agent a concrete reference for constructing valid requests rather than guessing formats.
What it produces
- A JSON API response containing a success flag and a resultObj image URL
How It Works
- 01Pick Chart Type
Analyze the user's data and requirements to choose the most suitable chart type.
- 02Build Request Body
Construct a JSON request body that follows the API's specification.
- 03Call the API
Use the curl tool to call the API and generate the chart image.
- 04Output the Image
Output the returned image URL in Markdown image format.