← 返回
未分类 中文

AI Data Visualizer

Automatically analyze and recommend optimal chart combinations based on data characteristics, generate beautiful interactive HTML dashboards (including line...
根据数据特征自动分析并推荐最佳图表组合,生成美观的交互式HTML仪表盘(包括折线图、柱状图、饼图等)
openlark
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 224
下载
💾 0
安装
1
版本
#latest

概述

AI Data Visualizer

Generate interactive HTML dashboards from CSV/JSON data with one click.

Applicable Scenarios

  • User provides CSV/JSON files that need visualization
  • User needs a data analysis dashboard
  • User mentions "data visualization", "generate chart", "plot", "chart"
  • User uploads tabular data wanting intuitive display

Quick Start

python3 "{SKILL_DIR}/scripts/generate_dashboard.py" data.csv -o dashboard.html
python3 "{SKILL_DIR}/scripts/generate_dashboard.py" data.json --json -o dashboard.html --theme dark

Features

  • Smart Chart Recommendation: Automatically detects column types (numeric/time/categorical/text) and recommends optimal chart combinations
  • 6 Chart Types: Line charts (trends), bar charts (comparison), scatter plots (correlation), pie/donut charts (proportions)
  • Interactive HTML: Chart.js rendering, hover tooltips, dark/light theme toggle, responsive layout
  • Statistical Summary: Automatically calculates mean, median, min/max values
  • Data Table: Embedded raw data preview (limit 500 rows)

Supported Chart Selections

The script automatically selects chart strategies based on data column types. See {SKILL_DIR}/references/chart-selection.md.

CLI Options

| Option | Description | Default |

|--------|-------------|---------|

| input | CSV or JSON file path | (required) |

| -o, --output | Output HTML path | dashboard.html |

| --json | Input is JSON format | auto-detect |

| --stdin | Read CSV from stdin | - |

| --theme | light or dark | light |

| --title | Dashboard title | 数据可视化仪表板 |

Workflow

  1. Receive user data — File path (CSV/JSON) or direct data content
  2. Preprocess data — Clean and transform if necessary
  3. Generate dashboard — Run script, output HTML
  4. Inform user — Describe generated file and chart summary

If the user provides data content directly (rather than a file), write it to a temporary CSV file first, then call the script.

Dependencies

  • Python 3.7+
  • Chart.js 4.x (CDN loaded in HTML output)
  • No pip dependencies (pure standard library)

Example

Input sales.csv:

Month,Product,Revenue,Units
2024-01,A,15000,120
2024-02,A,18000,145
2024-01,B,12000,95
2024-02,B,14000,110

Output: Automatically generates a dashboard with trend line charts, category comparison bar charts, and revenue proportion pie charts.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-23 23:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Toutiao Graphic Publisher

openlark
通过浏览器自动化在头条发布图文内容,支持智能排版、自动生成热门标签等功能。
★ 2 📥 937

Chartjs

openlark
Chart.js 图表技能,用于生成折线图、柱状图、饼图、雷达图、散点图等可视化图表。
★ 0 📥 647

Sqlite Client

openlark
SQLite 数据库操作技能。当用户需要创建、读取、查询或修改 SQLite 数据库(.db 文件)时使用。
★ 0 📥 677