New to Claude Skills? Learn how to install them →

bytedance on GitHub

Chart Visualization

Free

Transform data into insightful visual charts effortlessly.

by bytedance79.7k stars on bytedance/deer-flow
3 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Chart Visualization does

The Chart Visualization skill is designed for developers and data analysts who need to create visual representations of data quickly and effectively. This skill streamlines the process of selecting the appropriate chart type based on the characteristics of the data provided by the user. With 26 different chart options available, including line charts, bar charts, pie charts, and more specialized formats like Sankey diagrams and radar charts, users can easily visualize various data relationships and trends without extensive manual effort.

The workflow begins with intelligent chart selection, where the skill analyzes the user's data features to recommend the best chart type. This is crucial for ensuring that the visualization communicates the intended message clearly. For instance, time series data can be effectively represented with line or area charts, while categorical comparisons are best suited for bar or column charts. The skill also includes specialized charts for complex data scenarios, such as network graphs for relationships or funnel charts for process stages.

Once the chart type is determined, the skill extracts the necessary parameters from the user's input and maps them to the expected format. This process is supported by detailed specifications found in the references/ directory, which guide users on the required fields for each chart type. Finally, the skill generates the chart image by executing a JavaScript script with the constructed JSON payload, returning a URL for the generated image along with the parameters used for creation.

This skill is particularly useful for data-driven projects where visual communication of insights is essential. It caters to users who may not have extensive experience with data visualization tools, providing a straightforward approach to generating informative charts that enhance data interpretation.

When to use it

Use this skill when you need to convert datasets into visual formats for reports, presentations, or analysis.

When not to use it

This skill may not be suitable for highly customized visualizations that require intricate design or unique chart types not covered by the available options.

What you can build with it

Visualizing Sales Data

Quickly generate bar charts to compare sales figures across different categories or time periods.

Analyzing Survey Results

Use pie charts or Venn diagrams to visually represent the distribution of survey responses.

Mapping Geographic Data

Create district maps or pin maps to visualize data related to geographic locations.

How to install Chart Visualization

View source

1. Install with the skills CLI

npx skills add bytedance/deer-flow/chart-visualization --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by bytedance

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.

Frequently asked questions about Chart Visualization

Similar skills