Dataviz Selector 标志

Dataviz Selector

社区
skthewimp
dataviz-selector

Choose charts for data stories, including S-curves, knee-bends, inflections, local peaks, and misleading/decorative forms.

概览

发布者skthewimp
代码仓库karthik-data-visualization-skill
技能名称dataviz-selector
星标数
49
复刻数
5
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 skthewimp 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Dataviz Selector AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-selector/claude
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skthewimp/karthik-data-visualization-skill.git /tmp/karthik-data-visualization-skill
mkdir -p .claude/skills
cp -r /tmp/karthik-data-visualization-skill/dataviz-selector/claude .claude/skills/dataviz-selector
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Dataviz Selector,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Dataviz Selector。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Dataviz Selector 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Dataviz Selector

Use this before making a chart when the user has a dataset and a question/hypothesis/story to answer.

Core job: pick the visual form that makes the intended claim easiest to see and hardest to misread.

For non-trivial chart selection, use the workflow and guardrails below; private local references may add nuance, but this public skill is self-contained.

Workflow

  1. Disambiguate semantics before choosing a chart: identify the measure, denominator, displayed universe, relevant time/context boundaries, claim strength, and audience meaning of the units. Choose a form and semantic cues that make the intended comparison hard to misread; do not prescribe a chart type, vocabulary, or annotation when another defensible design communicates the distinction equally well.

  2. State the one-sentence claim the chart must support. If there are multiple claims, split into multiple charts.

  3. Identify the comparison: time, peers, baseline, target, counterfactual, distribution, spatial context, model expectation, or decomposition.

  4. Identify the data grain: time series, category, entity, location, event/ball, survey response, model output, simulation, transaction, or scorecard metric.

  5. Inspect the data's structure for features relevant to the stated claim. Treat apparent breaks, extremes, clusters, or changes as candidates only when they are robust enough, materially informative, and useful at the intended viewing scale; detailed candidate selection belongs to chart-annotations.

  6. Choose the simplest chart that exposes that comparison.

  • Add only necessary context: direct labels, event line/band, threshold, uncertainty ribbon, counterfactual, facet, or annotation. Detailed annotation selection belongs to chart-annotations.
  1. Say what to avoid: misleading axis, overplotting, unnecessary regression, crowded legend, map-for-ranking, stacked bars for precise comparisons, etc.
  2. If generating code, then also apply karthik-data-visualization styling before final output.

Fast chooser

  • Trend/intervention: choose a form that exposes level, change, comparison, and uncertainty; add a supported event or baseline context when it changes interpretation.
  • Nonlinear or changing trajectories: show the observations and use a derived summary only when its assumptions and uncertainty remain visible.
  • Slowing growth: show the level and the comparison that establishes slowing; use a derivative or projection only when it answers the stated question and is interpretable to the audience.
  • Forecast/anomaly: actual line, forecast/dashed line, uncertainty ribbon, highlighted anomaly/intervention window.
  • Many comparable series: small multiples or cluster prototypes; avoid spaghetti.
  • If the chart will be consumed in chat or at thumbnail size, prefer forms that support direct labels and strong contrast; avoid designs that depend on faint colour differences or tiny legends.
  • Choose colour by data role: when the story is one item among several, it's a trade-off between crowding and too many panels. While the lines stay easy to follow and label in one panel (usually up to about five), keep them together with the focal one coloured and the rest muted; once they start to tangle, switch to small multiples with the focal item's panel first; qualitative hues for nominal identity, a perceptually ordered sequential scale for magnitude, and a diverging scale only around a meaningful midpoint. If colour is doing work that position or direct labels could do better, remove it.
  • For slopegraphs, place endpoint labels where they remain paired and legible, then choose the aspect ratio from row density, label geometry, and delivery medium rather than a fixed orientation.
  • For two-point comparisons, choose among slopegraphs, dumbbells, paired bars, dot plots, or tables according to whether the main task is seeing change, comparing endpoint values, or reading exact values. The number of time points alone does not determine the form.
  • Ranking: sorted horizontal bars; bar axis starts at 0; highlight an item only when the question, evidence, or stated story makes it focal. Otherwise keep equal-status items in one colour, which need not be grey.
  • Ordered category axes (time, stages, sizes, ranked bins) keep their sequence and reading direction. Sort by magnitude only when the categories are nominal.
  • A signed change, net, or difference is not a part of a whole. Never show it as a share, stack, or pie; use diverging bars, a waterfall, or a slope.
  • Composition/share substitution: parts summing to 100% is a property of the numbers, not a reason to stack. For shares changing over time, default to one line per part, labelled at its end. Use 100% stacked bars or areas only when broad mix at one or a few points is the story. Only segments that begin or end on an aligned baseline support precise visual comparison; a fixed-total stack aligns both outer edges, while internal segments still float. If the claim depends on component patterns across periods or groups, use small multiples, grouped bars, dot plots, lines, or a compact table instead.
  • Distribution/skew/tails: histogram, density, ECDF, box, or violin; log scale for income/wealth/power-law data.
  • Log axes suit position encodings (points, lines, box plots) whose positive values span orders of magnitude, never bars or areas, which encode by length. Mark the axis as log and keep tick labels in original units.
  • Relationship: scatter with direct labels; regression only when relationship is the claim and uncertainty is shown.
  • Normalization: preserve the relationship between numerator and denominator, then choose a form based on whether the task is ranking, scale diagnosis, temporal/spatial variation, or distribution.
  • Domain-specific questions: derive the form from the mechanism, comparison, uncertainty, and audience rather than applying a domain recipe.

Output format for recommendations

Use this concise structure:

markdown
Recommended visual: <chart form>
Why: <claim-comparison fit>
Encoding: X = ..., Y = ..., colour/facet/label = ...
Context layers: <thresholds/events/counterfactuals/knee-bends/local extrema/annotations>
Avoid: <bad alternatives or pitfalls>
If implementing: <short code/design note>

Hard guardrails

  • One chart, one main job.
  • An explicit form request in the prompt overrides these defaults.
  • No redundant panels: a second view earns its place only by carrying a message the first cannot. Treat commonly problematic forms as risk conditions, not universal prohibitions. Recommend the simplest form that preserves the intended comparison in the actual medium. A form that is often misleading may still be appropriate when its purpose, encoding, audience, and limitations are explicit; reject it when it obscures magnitude, comparison, uncertainty, or interpretation.
  • Bars start at zero; scatters need not. When the variation is small against a large common level, switch to a position form (dots, dumbbell, connected points) on a zoomed scale instead of truncating the bars.
  • Do not extend regression/counterfactual lines beyond defensible range without marking them as projections.
  • Label derived meaning directly when the evidence is a gap, quadrant, cluster, area between curves, knee-bend/inflection, or local maximum/minimum.
  • Prefer direct labels to legends.
  • Choose a form in which labels and marks pair without guesswork at delivery size. If the natural baseline pushes labels far from the marks they identify, use a compact row structure, restrained guides, a table-chart hybrid, faceting, or another form that restores immediate traceability.
  • Size the canvas from the information and delivery medium. Whitespace should group, separate, or emphasize; do not retain blank regions merely because the plotting library or source aspect ratio created them.
  • If part-to-whole is requested, prefer sorted bars, 100% stacked bars, tables, or small multiples when every part gets a legible row and the reader compares the parts. A pie, donut, or treemap fits two cases: two or three parts, or many parts where a long tail of small ones doesn't matter. An area form keeps the same footprint however many parts there are, so the tail shrinks to slivers while the big parts stay readable; bars give every minor part a row and leave most of the canvas empty or crush the text. Either way, write the name and share on or beside each part that matters; no legend. Use stacking only when the reader needs broad composition, not precise component pattern comparison. Direct labels can support lookup of exact values; if comparison remains difficult or labels become crowded, change the form.
  • Use maps only for spatial stories.
  • If a clever chart needs too much explanation, use a simple chart plus annotation.
  • Add a label or annotation only when it materially improves the intended reading; detailed candidate selection and wording belong to chart-annotations.
  • Choose between a chart, table, dashboard, or interactive view according to whether the task is monitoring, exploration, comparison, or narrative explanation.
  • Put the most important comparison on the most accurate channel: position on a common scale, then length, then angle or slope, then area, then colour. When the main quantity sits on a weak channel, move it to a stronger one.
  • Do not put two series on independent y-axes to imply they move together. Index them to a common base, stack two panels on a shared x-axis, or use a scatter if the relationship is the claim.
  • In small multiples, share the value scale whenever the reader compares across panels. Use free scales only when each panel's own shape is the message, and say so on the chart.
  • A well-formatted table is a legitimate answer when the task is exact lookup or the measures share no honest common scale. Then apply karthik-table-style instead of chart styling.
  • Do not merge, bucket, or split categories to manufacture a claim. A grouping needs a reason in the data or the question, not because the coarser cut looks cleaner.

常见问题

Dataviz Selector AI 技能有什么作用?

Choose charts for data stories, including S-curves, knee-bends, inflections, local peaks, and misleading/decorative forms.

为什么在 TypingMind 中使用 Dataviz Selector?

因为您只需安装一次,就能搭配任何模型使用。Dataviz Selector 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Dataviz Selector?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-selector/claude。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Dataviz Selector?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Dataviz Selector 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Dataviz Selector 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Dataviz Selector AI 技能免费吗?

是的。skthewimp 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇