chart-visualization
bytedance/deer-flow
Intelligently select and generate charts from 26 visualization types for any dataset.
What is chart-visualization?
This skill transforms data into visual charts by automatically selecting the most appropriate chart type from 26 options, extracting parameters, and generating chart images. Use it whenever you need to visualize data—from time series and comparisons to hierarchies and specialized distributions.
- Analyzes data characteristics to recommend optimal chart type
- Supports 26 chart types including line, bar, pie, scatter, sankey, maps, and specialized charts
- Extracts and maps user data to chart-specific parameter schemas
- Generates chart images via JavaScript execution
- Handles time series, comparisons, part-to-whole, relationships, hierarchies, and statistical distributions
How to install chart-visualization
npx skills add https://github.com/bytedance/deer-flow --skill chart-visualization- Node.js >= 18.0.0
How to use chart-visualization
- 1.Describe your data and visualization goal to the skill
- 2.The skill analyzes your data to select the most suitable chart type from 26 options
- 3.Consult the appropriate reference specification file for the selected chart type
- 4.Extract and structure your data according to the chart's parameter schema
- 5.The skill invokes scripts/generate.js with a JSON payload containing the tool name and args
- 6.Retrieve the generated chart image URL and review the specification used
Use cases
- Visualizing sales trends over time with line or area charts
- Comparing categorical data across regions with bar or column charts
- Showing hierarchical data relationships with treemaps or organization charts
- Analyzing correlations between variables with scatter plots
- Displaying process flows or data flows with sankey or flow diagrams
- Data analysts and business intelligence professionals
- Software engineers building data visualization features
- Product managers presenting data insights
- Researchers analyzing statistical distributions
- Anyone needing to transform raw data into visual formats
chart-visualization FAQ
26 types including: line, area, bar, column, pie, scatter, sankey, treemap, radar, funnel, liquid, word cloud, boxplot, violin, network graph, fishbone diagram, flow diagram, dual axes, histogram, venn, organization chart, mind map, district map, pin map, path map, and spreadsheet.
It analyzes your data features (time series, comparisons, hierarchies, relationships, etc.) and applies selection guidelines to recommend the most appropriate chart type from the 26 available options.
The skill extracts data from your input and maps it to the expected args format for each chart type. Refer to the references/ directory files for specific schema requirements per chart type.
Yes. The payload supports theme and style parameters that can be customized per chart type. Consult the reference specification for your chosen chart type for available customization options.
The skill returns the generated chart image URL and the complete args specification used for generation.
Full instructions (SKILL.md)
Source of truth, from bytedance/deer-flow.
name: chart-visualization description: 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. compatibility: nodejs: ">=18.0.0"
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
generate_line_chart(trends) orgenerate_area_chart(accumulated trends). Usegenerate_dual_axes_chartfor two different scales. - Comparisons: Use
generate_bar_chart(categorical) orgenerate_column_chart. Usegenerate_histogram_chartfor frequency distributions. - Part-to-Whole: Use
generate_pie_chartorgenerate_treemap_chart(hierarchical). - Relationships & Flow: Use
generate_scatter_chart(correlation),generate_sankey_chart(flow), orgenerate_venn_chart(overlap). - Maps: Use
generate_district_map(regions),generate_pin_map(points), orgenerate_path_map(routes). - Hierarchies & Trees: Use
generate_organization_chartorgenerate_mind_map. - Specialized:
generate_radar_chart: Multi-dimensional comparison.generate_funnel_chart: Process stages.generate_liquid_chart: Percentage/Progress.generate_word_cloud_chart: Text frequency.generate_boxplot_chartorgenerate_violin_chart: Statistical distribution.generate_network_graph: Complex node-edge relationships.generate_fishbone_diagram: Cause-effect analysis.generate_flow_diagram: Process flow.generate_spreadsheet: 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/generate_line_chart.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:
{
"tool": "generate_chart_type_name",
"args": {
"data": [...],
"title": "...",
"theme": "...",
"style": { ... }
}
}
Execution Command:
node ./scripts/generate.js '<payload_json>'
4. Result Return
The script will output the URL of the generated chart image. Return the following to the user:
- The image URL.
- The complete
args(specification) used for generation.
Reference Material
Detailed specifications for each chart type are located in the references/ directory. Consult these files to ensure the args passed to the script match the expected schema.
License
This SKILL.md is provided by antvis/chart-visualization-skills.
Licensed under the MIT License.
Related skills
More from bytedance/deer-flow and the wider catalog.

claude-to-deerflow
Interact with DeerFlow AI agent platform via HTTP API for research, analysis, and delegated tasks.

code-documentation
Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects. Supports README generation, API reference documentation, inline code comments, architecture documentation, changelog generation, and developer guides. Trigger on requests like "document this code", "create a README", "generate API docs", "write developer guide", or when analyzing codebases for documentation purposes.

consulting-analysis
Generate consulting-grade research reports with structured frameworks and data-driven insights.

data-analysis
Analyze Excel and CSV files with SQL queries, statistics, and exports.

deep-research
Systematic multi-angle web research methodology for thorough topic investigation before content generation.

frontend-design
Create distinctive, production-grade frontend interfaces with bold aesthetic direction and zero generic AI aesthetics.