Agent skill · design visual · bytedance

chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

Why this skill is useful

Adds specific JavaScript scripts for generating various types of charts based on user data, which the AI wouldn't reliably generate on its own.

What it needs

Requires nodejs installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 79,444 stars on the source repository.

What this skill does

Chart Visualization Skill This skill provides a comprehensive workflow for transforming data into visual charts. It handles chart selection, parameter extraction, and image generation. Workflow To visualize data, follow these steps: 1. Intelligent Chart Selection Analyze the user's data features to determine the most appropriate chart type. Use the following guidelines (and consult references/ for detailed specs): Time Series: Use generatelinechart (trends) or generateareachart (accumulated trends). Use generatedualaxeschart for two different scales. Comparisons: Use generatebarchart (categorical) or generatecolumnchart. Use generatehistogramchart for frequency distributions. Part-to-Whole: Use generatepiechart or generatetreemapchart (hierarchical). Relationships & Flow: Use generatescatterchart (correlation), generatesankeychart (flow), or generatevennchart (overlap). Maps: Use generatedistrictmap (regions), generatepinmap (points), or generatepathmap (routes). Hierarchies & Trees: Use generateorganizationchart or generatemindmap. Specialized: generateradarchart: Multi-dimensional comparison. generatefunnelchart: Process stages. generateliquidchart: Percentage/Progress. generatewordcloudchart: Text frequency. generateboxplotchart or generateviolinchart: Statistical distribution. generatenetworkgraph: Complex node-edge relationships. generatefishbonediagram: Cause-effect analysis. generateflowdiagram: Process flow. generatespreadsheet: Tabular data or pivot tables for structured data display and cross-tabulation. 2. Parameter Extraction Once a chart type is selected, read the corresponding file in the references/ directory (e.g., references/generatelinechart.md) to identify the required and optional fields. Extract the data from the user's input and map it to the expected args format. 3. Chart Generation Invoke the scripts/generate.js script with a JSON payload. Payload Format: Execution Command: 4. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills bytedance/chart-visualization

View the source on GitHub

Browse the @skills marketplace