Excel2Insights — Demo Report

基于 sample_sales_data.csv 的自动分析结果预览

📊 26 行 × 7 列 📈 0 缺失值 🔗 2 数值列

📋 数据集概览

26
数据行数
7
字段数
0
缺失值
0
重复行
$8,315
平均收入
0.997
收入-数量相关系数
📊
Revenue Distribution
直方图 · 偏左分布 · 范围 $2,100 - $17,200
📈
Monthly Revenue Trend
折线图 · 2月低谷 · 6月峰值
🗺️
Correlation Heatmap
revenue × quantity = 0.997

📊 逐列分析

列名类型非空唯一值关键指标
datedatetime26262024-01-05 ~ 2024-06-29
productcategorical265Widget A: 7, Widget B: 6, Gadget X: 5...
categorycategorical262Electronics: 13, Accessories: 13
regioncategorical264North: 7, South: 5, East: 4, West: 3
revenuenumeric2626均值 $8,315 · 中位 $5,700 · 范围 $2,100-$17,200
quantitynumeric2617均值 31.5 · 中位 29 · 范围 11-62
customer_segmentcategorical263Enterprise: 12, SMB: 10, Startup: 4

🏆 关键洞察

🖥️ 终端效果

运行 auto-pipeline 的实际输出效果:

$ python3 scripts/auto-pipeline.py --file assets/sample_sales_data.csv --charts histogram,bar,heatmap,line
==================================================
Excel2Insights — Auto Pipeline
==================================================

[1/4] Loading file...
Rows: 26 | Columns: 7
Numeric: 2 | Categorical: 4

[2/4] Running statistical analysis...
Analysis saved: output/analysis.json

[3/4] Generating charts (histogram,bar,heatmap,line)...
Charts generated: 6

[4/4] Generating HTML report...
Report saved: output/report.html

Pipeline complete!
Output directory: /Users/wwumit/project/output
Charts: 6
Report: output/report.html

⚡ 快速使用

# 一键全流程
$ python3 scripts/auto-pipeline.py --file assets/sample_sales_data.csv

# 只是扫一眼
$ python3 scripts/excel-reader.py --file my_data.csv

# 自定义图表
$ python3 scripts/chart-generator.py --file my_data.csv --charts histogram,bar,scatter --columns revenue,quantity