Files
final-practice/README.md
2026-06-18 14:00:42 +08:00

49 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
本文件由助教自动生成
课程: 人工智能数据服务 (090945)
班级: AI_251
学号: 2509165019
仓库: final-practice
原数据文件: viz_data.json
说明: 纯数据,可直接用于 5 种图(条形图/折线图/饼图/雷达图/散点图)
-->
```json
{
"description": "学生考试成绩数据 - 可同时绘制 5 种图(条形图/折线图/饼图/雷达图/散点图)",
"bar_chart": {
"title": "各学生数学成绩对比",
"x": ["张三", "李四", "王五", "赵六", "钱七", "孙八", "周九", "吴十", "郑明", "王芳"],
"y": [92, 88, 76, 85, 90, 82, 78, 95, 72, 88]
},
"line_chart": {
"title": "班级各科平均分趋势6个月",
"month": ["1月", "2月", "3月", "4月", "5月", "6月"],
"语文": [78, 80, 82, 85, 83, 86],
"数学": [82, 84, 85, 87, 88, 90],
"英语": [80, 82, 81, 84, 85, 87]
},
"pie_chart": {
"title": "班级成绩等级分布",
"labels": ["优秀(>=90)", "良好(80-89)", "中等(70-79)", "待提高(<70)"],
"values": [1, 7, 2, 0]
},
"radar_chart": {
"title": "三位学生五科成绩对比",
"categories": ["语文", "数学", "英语", "物理", "化学"],
"students": {
"张三": [85, 92, 78, 88, 90],
"李四": [78, 88, 92, 75, 82],
"王五": [92, 76, 85, 90, 78]
}
},
"scatter_chart": {
"title": "学习时长 vs 数学成绩",
"x_label": "每周学习时长(小时)",
"y_label": "数学成绩",
"x": [3, 5, 4, 6, 5, 4, 5, 6, 2, 7],
"y": [92, 88, 76, 85, 90, 82, 78, 95, 72, 88],
"labels": ["张三", "李四", "王五", "赵六", "钱七", "孙八", "周九", "吴十", "郑明", "王芳"]
}
}
```