跳到正文
Skillpedia
分析与电子表格29k · #9779

dataviz

它能做什么

它为图表、仪表板、地图和其他数据可视化提供设计指导,包括调色板检查工具。适合制作需要他人快速理解的可视化内容的人。

适用场景

  • ✓当你即将制作一张图表、图形或仪表板时。
  • ✓当你想检查某个调色板是否适合用于图表时。
  • ✓当一张图表令人困惑,需要更清晰的形式或标签时。

技能链接

https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/dataviz/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/QwenLM/qwen-code/blob/main/packages/core/src/skills/bundled/dataviz/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请制作一张展示我们每月销售趋势的图表,并选择色盲人士也能看清的颜色。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体为该问题选择最简单的图表形式,把主要结论写入标题或注释,并借助验证脚本检查调色板。然后,它对照常见错误审查设计。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Dataviz

Use this skill before producing a chart, dashboard, map, or data visualization.

Workflow

  1. Identify the analytic task: comparison, trend, distribution, relationship, ranking, part-to-whole, geography, or status monitoring.
  2. Choose the simplest chart form that answers that task. Read references/choosing-a-form.md when the form is not obvious.
  3. Write the finding into the title, subtitle, axis label, or direct annotation. A viewer should know what changed, what is high or low, or what decision the chart supports.
  4. Pick colors from references/palette.md, or validate any custom palette with the script below.
  5. Check references/anti-patterns.md before finalizing the design.

Palette Validation

Resolve paths relative to the skill base directory shown above this skill body. Do not assume $QWEN_SKILL_ROOT is set for normal shell commands.

Run:

node <skill-base-directory>/scripts/validate_palette.js '#1d4ed8,#b45309,#166534' --mode light

Treat FAIL as a required palette change. Treat WARN as acceptable only when the chart also uses labels, shape, texture, ordering, or another secondary encoding.

Mark Rules

  • Use categorical palettes for unordered groups; use sequential or diverging ramps only for ordered values.
  • Prefer direct labels over legends when the chart has a small number of series.
  • Keep gridlines subtle and fewer than the data marks.
  • Avoid dual axes unless both series share a clearly explained transformation.
  • Do not rely on color alone for critical distinctions.
  • Keep dashboards scan-friendly: align cards, use consistent number formats, and reserve saturated color for important state changes.
常见问题

调色板检查做什么?

脚本会验证颜色,并报告通过或警告的结果,让你知道需要做哪些调色板修改。

它推荐哪些图表?

它会为任务推荐最简单的形式,例如比较、趋势、分布或部分与整体。

它自己绘制图表吗?

它指导设计选择,然后智能体按照这些规则构建可视化内容。

详情

作者的原始描述

Design guidance for charts, graphs, dashboards, maps, and data visualizations, including a local palette validator.

repo: QwenLM/qwen-code

热度

GitHub 星标
29k
排名
#9779
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能