会员账号

← 全部 Skills

配色设计 · /xxd-data-viz

xxd-data-viz

为图表、仪表盘和数据可视化构建具有中国传统色辨识度的无障碍配色。

xxd-data-viz

Purpose

Use this skill when colors must encode data. It should not turn a poster palette into a chart palette; it must choose colors by data meaning, distinguishability, ordering, and accessibility.

Pain Points This Solves

  • Attractive palettes fail charts because categories are not distinct or values are not ordered by lightness.
  • Designers mix categorical, sequential, and diverging color logic in one chart.
  • Chart color often relies on hue alone, which weakens accessibility and makes legends harder to read.

Data Contract

  • Use the bundled references inside this skill:
  • references/chinese-color-master-list.md: full 742-color Markdown source list.
  • references/chinese-color-harmony.csv: complete machine-readable harmony table for all 742 colors.
  • references/chinese-color-harmony.md: Markdown version of the same harmony relationships.
  • Do not treat all harmony colors as chart-ready; validate distinctness or ordering for the chart mode.
  • Do not rely on hue alone. Add label, order, pattern, stroke, marker shape, direct labeling, or interaction guidance when needed.

Chart Mode Workflow

  1. Identify data meaning before picking colors:
  • Categorical: unrelated groups.
  • Sequential: low to high values.
  • Diverging: two directions around a meaningful midpoint.
  • Highlight: one or two emphasized series against quiet context.
  • Dashboard semantic: success, warning, danger, info, selected, neutral.
  1. Choose selection criteria:
  • Categorical: maximize hue and lightness separation.
  • Sequential: monotonic lightness is more important than poetic harmony.
  • Diverging: balance perceived strength on both sides and reserve a neutral midpoint.
  • Highlight: keep background series quiet and the target unmistakable.
  1. Build the palette from project colors only.
  2. Add chart implementation details:
  • Background/grid/axis color.
  • Legend or direct labels.
  • Hover and selection color.
  • Missing data and disabled series.
  1. If requested, output ECharts, D3, Chart.js, or CSV arrays.

Output Shape

  • Data context: chart type, series count, background, data meaning.
  • Mode decision: categorical, sequential, diverging, highlight, or semantic.
  • Palette table: order or series, color name, HEX, role, reason.
  • Usage rules: legend, labels, grid, hover, selection, missing data.
  • Accessibility notes: where labels, markers, strokes, or patterns are required.
  • Optional code in the requested chart format.

For charts with more than 12 categories, recommend grouping, sorting, filtering, or interaction rather than forcing more colors.

正在加载 Skills…

找回密码

输入注册邮箱,我们会发送一封重置邮件。

确认删除

删除后将从网站中移除。

API 迁移

导入 API 配置