Token导航 LogoToken导航

Agent Skill · 前端设计

data-visualization(数据可视化)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

data-visualization 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证为 MIT,暂无第三方扫描结果,按安装量在前端设计类的 10,216 个 Skill 里排第 1,101。

总安装 7,724周安装 192GitHub Stars 2下载 2,404核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:data-visualization(数据可视化)
来源仓库:https://github.com/skill-zero/s
仓库路径:skills/data-visualization
安装命令:
npx skills add skill-zero/s --skill "data-visualization"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add skill-zero/s --skill "data-visualization"

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

具有图表选择、颜色理论和注释最佳实践的数据可视化。涵盖图表类型(条形图、折线图、散点图、热图)、轴规则和用数据讲述故事。用于:图表、图形、仪表板、报告、演示文稿、信息图表、数据故事。

触发器:数据可视化、图表、图形、数据图表、条形图、折线图、散点图、数据可视化、可视化、仪表板图、信息图表数据、数据演示、图表设计、绘图、热图、饼图替代

来源仓库内路径:skills/data-visualization

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add skill-zero/s --skill "data-visualization";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

data-visualization 怎么安装?

在终端执行 npx skills add skill-zero/s --skill "data-visualization"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

data-visualization 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

data-visualization 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

data-visualization 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

data-visualization 用的人多吗?

公开数据是累计安装 7,724 次,近一周安装 192 次,下载 2,404 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

data-visualization 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
data-visualization

数据可视化 · 本页

7,7242调用外部服务MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
data-visualization
description
Data visualization with chart selection, color theory, and annotation best practices. Covers chart types (bar, line, scatter, heatmap), axes rules, and storytelling with data. Use for: charts, graphs, dashboards, reports, presentations, infographics, data stories. Triggers: data visualization, chart, graph, data chart, bar chart, line chart, scatter plot, data viz, visualization, dashboard chart, infographic data, data presentation, chart design, plot, heatmap, pie chart alternative
allowed-tools
Bash(infsh *)

Data Visualization

Create clear, effective data visualizations via inference.sh CLI.

Quick Start

curl -fsSL https://cli.inference.sh | sh && infsh login

# Generate a chart with Python
infsh app run infsh/python-executor --input '{
  "code": "import matplotlib.pyplot as plt\
import matplotlib\
matplotlib.use(\"Agg\")\
\
months = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\"]\
revenue = [42, 48, 55, 61, 72, 89]\
\
fig, ax = plt.subplots(figsize=(10, 6))\
ax.bar(months, revenue, color=\"#3b82f6\", width=0.6)\
ax.set_ylabel(\"Revenue ($K)\")\
ax.set_title(\"Monthly Revenue Growth\", fontweight=\"bold\")\
for i, v in enumerate(revenue):\
    ax.text(i, v + 1, f\"${v}K\", ha=\"center\", fontweight=\"bold\")\
plt.tight_layout()\
plt.savefig(\"revenue.png\", dpi=150)\
print(\"Saved\")"
}'

Chart Selection Guide

Which Chart for Which Data?

Data RelationshipBest ChartNever Use
Change over timeLine chartPie chart
Comparing categoriesBar chart (horizontal for many categories)Line chart
Part of a wholeStacked bar, treemapPie chart (controversial but: bar is always clearer)
DistributionHistogram, box plotBar chart
CorrelationScatter plotBar chart
RankingHorizontal bar chartVertical bar, pie
GeographicChoropleth mapBar chart
Composition over timeStacked area chartMultiple pie charts
Single metricBig number (KPI card)Any chart (overkill)
Flow / processSankey diagramBar chart

The Pie Chart Problem

Pie charts are almost always the wrong choice:

❌ Pie chart problems:
   - Hard to compare similar-sized slices
   - Can't show more than 5-6 categories
   - 3D pie charts are always wrong
   - Impossible to read exact values

✅ Use instead:
   - Horizontal bar chart (easy comparison)
   - Stacked bar (part of whole)
   - Treemap (hierarchical parts)
   - Just a table (if precision matters)

Design Rules

Axes

RuleWhy
Always start Y-axis at 0 (bar charts)Prevents misleading visual
Line charts CAN start above 0When showing change, not absolute values
Label both axesReader shouldn't have to guess units
Remove unnecessary gridlinesReduce visual noise
Use horizontal labelsVertical text is hard to read
Sort bar charts by valueDon't use alphabetical order unless there's a reason

Color

PrincipleApplication
Max 5-7 colors per chartMore becomes unreadable
Highlight one thingGrey everything else, color the focus
Sequential for magnitudeLight → dark for low → high
Diverging for positive/negativeRed ← neutral → blue
Categorical for groupsDistinct hues, similar brightness
Colorblind-safeAvoid red/green only — add shapes or labels
Consistent meaningIf blue = revenue, keep it blue everywhere

Good Color Palettes

# Sequential (low to high)
sequential = ["#eff6ff", "#bfdbfe", "#60a5fa", "#2563eb", "#1d4ed8"]

# Diverging (negative to positive)
diverging = ["#ef4444", "#f87171", "#d1d5db", "#34d399", "#10b981"]

# Categorical (distinct groups)
categorical = ["#3b82f6", "#f59e0b", "#10b981", "#8b5cf6", "#ef4444"]

# Colorblind-safe
cb_safe = ["#0077BB", "#33BBEE", "#009988", "#EE7733", "#CC3311"]

Text and Labels

ElementRule
TitleStates the insight, not the data type. "Revenue doubled in Q2" not "Q2 Revenue Chart"
AnnotationsCall out key data points directly on the chart
LegendAvoid if possible — label directly on chart lines/bars
Font sizeMinimum 12px, 14px+ for presentations
Number formatUse K, M, B for large numbers (42K not 42,000)
Data labelsAdd to bars/points when exact values matter

Chart Recipes

Line Chart (Time Series)

infsh app run infsh/python-executor --input '{
  "code": "import matplotlib.pyplot as plt\
import matplotlib\
matplotlib.use(\"Agg\")\
\
fig, ax = plt.subplots(figsize=(12, 6))\
fig.patch.set_facecolor(\"white\")\
\
months = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"]\
this_year = [120, 135, 148, 162, 178, 195, 210, 228, 245, 268, 290, 320]\
last_year = [95, 102, 108, 115, 122, 130, 138, 145, 155, 165, 178, 190]\
\
ax.plot(months, this_year, color=\"#3b82f6\", linewidth=2.5, marker=\"o\", markersize=6, label=\"2024\")\
ax.plot(months, last_year, color=\"#94a3b8\", linewidth=2, linestyle=\"--\", label=\"2023\")\
ax.fill_between(range(len(months)), last_year, this_year, alpha=0.1, color=\"#3b82f6\")\
\
ax.annotate(\"$320K\", xy=(11, 320), fontsize=14, fontweight=\"bold\", color=\"#3b82f6\")\
ax.annotate(\"$190K\", xy=(11, 190), fontsize=12, color=\"#94a3b8\")\
\
ax.set_ylabel(\"Revenue ($K)\", fontsize=12)\
ax.set_title(\"Revenue grew 68% year-over-year\", fontsize=16, fontweight=\"bold\")\
ax.legend(fontsize=12)\
ax.spines[\"top\"].set_visible(False)\
ax.spines[\"right\"].set_visible(False)\
ax.grid(axis=\"y\", alpha=0.3)\
plt.tight_layout()\
plt.savefig(\"line-chart.png\", dpi=150)\
print(\"Saved\")"
}'

Horizontal Bar Chart (Comparison)

infsh app run infsh/python-executor --input '{
  "code": "import matplotlib.pyplot as plt\
import matplotlib\
matplotlib.use(\"Agg\")\
\
fig, ax = plt.subplots(figsize=(10, 6))\
\
categories = [\"Email\", \"Social\", \"SEO\", \"Paid Ads\", \"Referral\", \"Direct\"]\
values = [12, 18, 35, 22, 8, 5]\
colors = [\"#94a3b8\"] * len(values)\
colors[2] = \"#3b82f6\"  # Highlight the winner\
\
# Sort by value\
sorted_pairs = sorted(zip(values, categories, colors))\
values, categories, colors = zip(*sorted_pairs)\
\
ax.barh(categories, values, color=colors, height=0.6)\
for i, v in enumerate(values):\
    ax.text(v + 0.5, i, f\"{v}%\", va=\"center\", fontsize=12, fontweight=\"bold\")\
\
ax.set_xlabel(\"% of Total Traffic\", fontsize=12)\
ax.set_title(\"SEO drives the most traffic\", fontsize=16, fontweight=\"bold\")\
ax.spines[\"top\"].set_visible(False)\
ax.spines[\"right\"].set_visible(False)\
plt.tight_layout()\
plt.savefig(\"bar-chart.png\", dpi=150)\
print(\"Saved\")"
}'

KPI / Big Number Card

infsh app run infsh/html-to-image --input '{
  "html": "<div style=\"display:flex;gap:20px;padding:20px;background:white;font-family:system-ui\"><div style=\"background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px;width:200px;text-align:center\"><p style=\"color:#64748b;font-size:14px;margin:0\">Monthly Revenue</p><p style=\"font-size:48px;font-weight:900;margin:8px 0;color:#1e293b\">$89K</p><p style=\"color:#22c55e;font-size:14px;margin:0\">↑ 23% vs last month</p></div><div style=\"background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px;width:200px;text-align:center\"><p style=\"color:#64748b;font-size:14px;margin:0\">Active Users</p><p style=\"font-size:48px;font-weight:900;margin:8px 0;color:#1e293b\">12.4K</p><p style=\"color:#22c55e;font-size:14px;margin:0\">↑ 8% vs last month</p></div><div style=\"background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px;width:200px;text-align:center\"><p style=\"color:#64748b;font-size:14px;margin:0\">Churn Rate</p><p style=\"font-size:48px;font-weight:900;margin:8px 0;color:#1e293b\">2.1%</p><p style=\"color:#ef4444;font-size:14px;margin:0\">↑ 0.3% vs last month</p></div></div>"
}'

Heatmap

infsh app run infsh/python-executor --input '{
  "code": "import matplotlib.pyplot as plt\
import numpy as np\
import matplotlib\
matplotlib.use(\"Agg\")\
\
fig, ax = plt.subplots(figsize=(10, 6))\
\
days = [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"]\
hours = [\"9AM\", \"10AM\", \"11AM\", \"12PM\", \"1PM\", \"2PM\", \"3PM\", \"4PM\", \"5PM\"]\
data = np.random.randint(10, 100, size=(len(hours), len(days)))\
data[2][1] = 95  # Tuesday 11AM peak\
data[2][3] = 88  # Thursday 11AM\
\
im = ax.imshow(data, cmap=\"Blues\", aspect=\"auto\")\
ax.set_xticks(range(len(days)))\
ax.set_yticks(range(len(hours)))\
ax.set_xticklabels(days, fontsize=12)\
ax.set_yticklabels(hours, fontsize=12)\
\
for i in range(len(hours)):\
    for j in range(len(days)):\
        color = \"white\" if data[i][j] > 60 else \"black\"\
        ax.text(j, i, data[i][j], ha=\"center\", va=\"center\", fontsize=10, color=color)\
\
ax.set_title(\"Website Traffic by Day & Hour\", fontsize=16, fontweight=\"bold\")\
plt.colorbar(im, label=\"Visitors\")\
plt.tight_layout()\
plt.savefig(\"heatmap.png\", dpi=150)\
print(\"Saved\")"
}'

Storytelling with Data

The Narrative Arc

StepWhat to DoExample
1. ContextSet up what the reader needs to know"We track customer acquisition cost monthly"
2. TensionShow the problem or change"CAC increased 40% in Q3"
3. ResolutionShow the insight or solution"But LTV increased 80%, so unit economics improved"

Title as Insight

❌ Descriptive titles (what the chart shows):
   "Q3 Revenue by Product Line"
   "Monthly Active Users 2024"
   "Customer Satisfaction Survey Results"

✅ Insight titles (what the chart means):
   "Enterprise product drives 70% of revenue growth"
   "User growth accelerated after the free tier launch"
   "Support response time is the #1 satisfaction driver"

Annotation Techniques

TechniqueWhen to Use
Call-out labelHighlight a specific data point ("Peak: 320K")
Reference lineShow target/benchmark ("Goal: 100K")
Shaded regionMark a time period ("Product launch window")
Arrow + textDraw attention to trend change
Before/after lineShow impact of an event

Dark Mode Charts

infsh app run infsh/python-executor --input '{
  "code": "import matplotlib.pyplot as plt\
import matplotlib\
matplotlib.use(\"Agg\")\
\
# Dark theme\
plt.rcParams.update({\
    \"figure.facecolor\": \"#0f172a\",\
    \"axes.facecolor\": \"#0f172a\",\
    \"axes.edgecolor\": \"#334155\",\
    \"axes.labelcolor\": \"white\",\
    \"text.color\": \"white\",\
    \"xtick.color\": \"white\",\
    \"ytick.color\": \"white\",\
    \"grid.color\": \"#1e293b\"\
})\
\
fig, ax = plt.subplots(figsize=(12, 6))\
months = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\"]\
values = [45, 52, 58, 72, 85, 98]\
\
ax.plot(months, values, color=\"#818cf8\", linewidth=3, marker=\"o\", markersize=8)\
ax.fill_between(range(len(months)), values, alpha=0.15, color=\"#818cf8\")\
ax.set_title(\"MRR Growth: On track for $100K\", fontsize=18, fontweight=\"bold\")\
ax.set_ylabel(\"MRR ($K)\", fontsize=13)\
ax.spines[\"top\"].set_visible(False)\
ax.spines[\"right\"].set_visible(False)\
ax.grid(axis=\"y\", alpha=0.2)\
\
for i, v in enumerate(values):\
    ax.annotate(f\"${v}K\", (i, v), textcoords=\"offset points\", xytext=(0, 12), ha=\"center\", fontsize=11, fontweight=\"bold\")\
\
plt.tight_layout()\
plt.savefig(\"dark-chart.png\", dpi=150, facecolor=\"#0f172a\")\
print(\"Saved\")"
}'

Common Mistakes

MistakeProblemFix
Pie chartsHard to compare, always misleadingUse bar charts or treemaps
Y-axis not starting at 0 (bar charts)Exaggerates differencesStart at 0 for bars, OK to truncate for lines
Too many colorsVisual noise, confusingMax 5-7 colors, highlight only what matters
No title or generic titleReader doesn't know the insightTitle = the takeaway, not the data type
3D chartsDistorts data, looks unprofessionalAlways use 2D
Dual Y-axesMisleading, hard to readUse two separate charts
Alphabetical sort on bar chartsHides the storySort by value (largest first)
No labels on axesReader can't interpretAlways label with units
Chartjunk (decorative elements)Distracts from dataRemove everything that doesn't convey information
Red/green only for color codingColorblind users can't readUse shapes, patterns, or colorblind-safe palettes

Related Skills

npx skills add inference-sh/skills@pitch-deck-visuals
npx skills add inference-sh/skills@technical-blog-writing
npx skills add inference-sh/skills@competitor-teardown

Browse all apps: infsh app list

平台分布

Claude Code

67.67%
按下载量换算1,627

Cursor

25.95%
按下载量换算624

安全审计

暂无安全审计结果可展示。

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills