← 提示词库 Anthropic/claude-code/skills/dataviz/references/components.md 原文 md
🌐 中英双语对照

Components - the pieces a chart is made of / 组件——构成图表的各个部分

A chart is built from these parts, assembled in plain HTML/SVG. Tier 0 is the
foundation everything mounts on; the System tier is what makes the method
portable (and is, itself, this skill).

图表由以下部分构成,以纯 HTML/SVG 组装。第 0 层是一切的挂载基础;System 层则让这套方法具备可移植性(它本身就是这个技能)。

Tier 0 - Foundations / 第 0 层——基础

Tier 1 - The charts people ask for / 第 1 层——用户最常要求的图表

Tier 2 - Rounding out the kit / 第 2 层——补全工具箱

System tier - becomes the skill / System 层——最终成为技能本身

Notes: part-to-whole rides on the stacked bar chart; donut stays deprioritized.
Small multiples is a layout pattern over these, not a separate piece. Scatter
joins Tier 2 if scatter-heavy surfaces land.

说明:部分与整体(part-to-whole)关系依托堆叠柱状图实现;环形图保持低优先级。小型多图(small multiples)是叠加在这些组件之上的一种布局模式,而非独立组件。如果散点密集型界面落地,散点图将加入第 2 层。