kaalia0912/dsh-data-analysis-mode/visualization
Claude Code and agent skill by kaalia0912/dsh-data-analysis-mode
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
matplotlib / seaborn 数据可视化规范(原创技能,MIT):图表类型选择、中文字体处理、样式与保存规范。当任务需要画图、做图表、生成可视化报告时加载。matplotlib and seaborn chart standards — chart type selection, CJK font handling, styling, sizing and export rules. Load when a task needs charts or a visual report.
Install
npx vskill@latest install kaalia0912/dsh-data-analysis-mode/visualizationSKILL.md
visualization — 数据可视化规范
本技能定义 matplotlib / seaborn 的可视化标准,保证图表清晰、规范、可直接交付。与 data-analysis(工作流)、pandas-3x(pandas 技巧)配合使用。
环境与字体(Windows 必读)
图表类型选择
| 目的 | 图 | |
|---|---|---|
| 分布(单变量) | sns.histplot / sns.kdeplot / 箱线图 | |
| 类别对比 | 柱状图(sns.barplot)或点图 | |
| 趋势 | 折线图(plt.plot) | |
| 两个数值列关系 | 散点图(sns.scatterplot) | |
| 相关性矩阵 | sns.heatmap(corr, annot=True) | |
| 分组分布 | 箱线图 / 小提琴图(sns.boxplot / sns.violinplot) | |
| 计数 | sns.countplot | |
| 时间序列 | 折线 + pd.to_datetime 索引 |
交付规范(每条必须满足)
- 标题:说明图内容与口径(如「月度营收趋势(2024)」)
- 轴标签:含单位(
金额(万元)、时间) - 图例:多系列必须有
- 网格:数值型图表开
plt.grid(alpha=0.3)便于读数 - 保存:
plt.savefig("out.png", dpi=200, bbox_inches="tight"),PNG 交付;矢量报告用 PDF - 关闭:
plt.close(fig)防止内存堆积(循环画图时必做)
常用模板
分组柱状
时间序列折线
热力图(相关性)
检查清单
- [ ] 中文不乱码(Microsoft YaHei / SimHei 已设置)
- [ ] 标题、轴标签(含单位)、图例齐全
- [ ] dpi ≥ 200,无元素被裁切(bbox_inches="tight")
- [ ] 颜色方案统一(sns 默认或统一色板)
- [ ] 交付前读一眼图,确认无空白/重叠/缺数据
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/visualization/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kaalia0912/dsh-data-analysis-mode/visualization)