Token导航 LogoToken导航

Agent Skill · 前端设计

data-science-visualization(数据科学可视化)

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

data-science-visualization 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 8,327。

总安装 294周安装 12GitHub Stars 公开资料未说明下载 95核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/legout/data-platform-agent-skills --skill data-science-visualization

这个 Skill 是做什么的

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

提供可视化库选型与图表设计指导,匹配数据特性与受众需求。覆盖 Matplotlib、Seaborn、Plotly 等主流工具的适用场景对比。支持探索性图表制作、交互式仪表板与出版级图像生成。强调视觉传达有效性,避免误导性呈现与过度复杂化。安装依赖 GitHub 仓库,适用于 Python 数据可视化生态集成。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/legout/data-platform-agent-skills --skill data…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

data-science-visualization 怎么安装?

在终端执行 npx skills add https://github.com/legout/data-platform-agent-skills --skill data-science-v…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

data-science-visualization 支持哪些 AI 工具?

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

data-science-visualization 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

data-science-visualization 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

data-science-visualization 用的人多吗?

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

data-science-visualization 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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-science-visualization

数据科学可视化 · 本页

294—只读未明确有提醒

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

SKILL.md 原文

Data Visualization

Use this skill for creating effective visualizations: choosing the right library, chart type, and interactivity level for your data and audience.

When to use this skill

  • Choosing a visualization library for a project
  • Creating exploratory charts during EDA
  • Building interactive dashboards
  • Producing publication-quality figures
  • Understanding tradeoffs between libraries

Library selection guide (2026)

LibraryBest ForInteractivityLearning Curve
MatplotlibPublication-quality static plots, fine controlStaticModerate
SeabornStatistical visualization, quick EDAStaticEasy
PlotlyInteractive web charts, dashboardsHighEasy
AltairDeclarative statistical charts, large datasetsMediumEasy
hvPlot/HoloVizLarge data, linked brushing, geospatialHighModerate
BokehCustom interactive web appsHighModerate

Quick decision tree

Static publication figure?
  → Matplotlib (full control) or Seaborn (quick statistical)

Interactive web/dashboard?
  → Plotly (easiest), Dash (full apps)
  → Panel/HoloViz (complex linked views)
  → Bokeh (custom web apps)

Large datasets (100k+ points)?
  → hvPlot + Datashader (automatic rasterization)
  → Altair (smart aggregation with Vega-Lite)

Declarative grammar preferred?
  → Altair (Vega-Lite) or Plotly Express

Already using Pandas?
  → df.plot() → Matplotlib
  → df.hvplot() → HoloViz
  → px.scatter(df) → Plotly

Core principles

1) Match chart to data and question

QuestionChart Type
Distribution?Histogram, KDE, boxplot, violin
Relationship?Scatter, line, heatmap (correlation)
Composition?Pie (avoid), stacked bar, treemap
Comparison?Bar, grouped bar, dot plot
Trend over time?Line, area, candlestick
Geographic?Choropleth, scatter map, heatmap

2) Maximize data-ink ratio

  • Remove unnecessary gridlines, borders, backgrounds
  • Use color purposefully (not decoration)
  • Label directly when possible
  • One message per visualization

3) Choose interactivity appropriately

AudienceInteractivity Level
Paper/reportStatic (Matplotlib/Seaborn)
PresentationLimited (Plotly static export)
Exploratory analysisHigh (zoom, pan, filter, hover)
Stakeholder dashboardMedium (linked views, drill-down)

Quick examples

Matplotlib (fine control)

import matplotlib.pyplot as plt

fig, ax = plt.subplots(figsize=(10, 6))
ax.scatter(x, y, c=colors, alpha=0.6, edgecolors='none')
ax.set_xlabel('Feature X', fontsize=12)
ax.set_ylabel('Target Y', fontsize=12)
ax.set_title('Relationship Analysis', fontsize=14, fontweight='bold')
ax.spines['top'].set_visible(False)
ax.spines['right'].set_visible(False)
plt.tight_layout()

Seaborn (statistical)

import seaborn as sns

# Distribution with KDE
sns.histplot(data=df, x='value', hue='category', kde=True, bins=30)

# Correlation heatmap
corr = df.corr()
sns.heatmap(corr, annot=True, fmt='.2f', cmap='coolwarm', center=0)

# Categorical comparison
sns.boxplot(data=df, x='category', y='value', palette='viridis')

Plotly (interactive web)

import plotly.express as px

# Scatter with marginal distributions
fig = px.scatter(df, x='x', y='y', color='category', size='size',
                 marginal_x='histogram', marginal_y='rug',
                 hover_data=['label'])
fig.show()

# Faceted small multiples
fig = px.line(df, x='date', y='value', facet_col='category',
              facet_col_wrap=3, height=800)
fig.show()

Altair (declarative, large data)

import altair as alt

# Smart aggregation for large datasets
chart = alt.Chart(df).mark_circle().encode(
    x=alt.X('x:Q', bin=alt.Bin(maxbins=50)),
    y=alt.Y('y:Q', bin=alt.Bin(maxbins=50)),
    size='count()'
).interactive()

chart.save('chart.html')  # Self-contained HTML

hvPlot/HoloViz (large data, linked views)

import hvplot.pandas
import panel as pn

# Linked brushing
scatter = df.hvplot.scatter(x='x', y='y', c='category',
                            tools=['box_select'],
                            width=400, height=400)
hist = df.hvplot.hist(y='y', width=400, height=200)

layout = pn.Row(scatter, hist)
layout.servable()

Bokeh (custom web apps)

from bokeh.plotting import figure, show
from bokeh.models import ColumnDataSource, HoverTool

source = ColumnDataSource(df)

p = figure(title="Interactive Plot", tools="pan,wheel_zoom,box_select")
p.circle('x', 'y', source=source, size=10, alpha=0.6)

hover = HoverTool(tooltips=[("X", "@x"), ("Y", "@y"), ("Label", "@label")])
p.add_tools(hover)

show(p)

Anti-patterns

  • ❌ Pie charts with many slices (use bar charts)
  • ❌ Dual y-axes (hard to read, try normalization or small multiples)
  • ❌ 3D charts (distorts perception)
  • ❌ Rainbow colormaps (use perceptually uniform: viridis, plasma)
  • ❌ Missing labels, titles, or units
  • ❌ Overplotting without handling (sampling, alpha, or Datashader)

Common issues and solutions

ProblemSolution
Overplotting (100k+ points)Use Datashader (rasterization), hexbin, or 2D histogram
Slow interactivityReduce data points, use WebGL (Plotly), or pre-aggregate
Large file sizeSave as JSON (Plotly/Altair) or use static images
Color blindnessUse colorblind-friendly palettes (viridis, colorbrewer)

Progressive disclosure

  • references/matplotlib-advanced.md — Subplots, annotations, custom styles
  • references/seaborn-statistical.md — Complex statistical plots
  • references/plotly-dash.md — Full dashboards with callbacks
  • references/altair-grammar.md — Vega-Lite transformations
  • references/holoviz-datashader.md — Large data visualization
  • references/bokeh-server.md — Real-time streaming apps

Related skills

  • @data-science-eda — Exploration patterns
  • @data-science-interactive-apps — Dashboard deployment
  • @data-science-notebooks — Notebook-specific visualization

References

平台分布

Codex

37.82%
按下载量换算36

Claude

31.61%
按下载量换算30

Cursor

16.69%
按下载量换算16

Gemini CLI

10.18%
按下载量换算10

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills