PluginBench
Skill
Pass
Audit score 90

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
Prerequisites
  • Node.js >= 18.0.0
Claude Code
Cursor
Windsurf
Cline

How to use chart-visualization

  1. 1.Describe your data and visualization goal to the skill
  2. 2.The skill analyzes your data to select the most suitable chart type from 26 options
  3. 3.Consult the appropriate reference specification file for the selected chart type
  4. 4.Extract and structure your data according to the chart's parameter schema
  5. 5.The skill invokes scripts/generate.js with a JSON payload containing the tool name and args
  6. 6.Retrieve the generated chart image URL and review the specification used

Use cases

Good for
  • 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
Who it's for
  • 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

What chart types are supported?

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.

How does the skill choose which chart to use?

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.

What data formats are accepted?

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.

Can I customize the chart appearance?

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.

What is returned after chart generation?

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) or generate_area_chart (accumulated trends). Use generate_dual_axes_chart for two different scales.
  • Comparisons: Use generate_bar_chart (categorical) or generate_column_chart. Use generate_histogram_chart for frequency distributions.
  • Part-to-Whole: Use generate_pie_chart or generate_treemap_chart (hierarchical).
  • Relationships & Flow: Use generate_scatter_chart (correlation), generate_sankey_chart (flow), or generate_venn_chart (overlap).
  • Maps: Use generate_district_map (regions), generate_pin_map (points), or generate_path_map (routes).
  • Hierarchies & Trees: Use generate_organization_chart or generate_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_chart or generate_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.