dataviz
하는 일
이 스킬은 사람들이 쉽게 읽을 수 있는 차트와 데이터 시각화를 만드는 방법을 안내합니다. 코드든 이미지든 어떤 도구로든 차트, 그래프, 대시보드를 만드는 사람을 위한 것입니다.
사용하는 경우
- ✓차트, 그래프 또는 데이터 시각화를 만들려고 할 때.
- ✓접근 가능하고 일관된 차트 색을 고르고 싶을 때.
- ✓대시보드나 통계 타일을 배치하면서 명확한 계층을 원할 때.
스킬 링크
https://github.com/JimLiu/baoyu-design/blob/main/skills/dataviz/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“접근 가능한 색을 써서, 세 제품의 12개월 판매를 비교하는 차트를 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 먼저 데이터의 역할에 맞춰 차트 형태를 고릅니다. 그다음 의미에 따라 색을 배정하고, 차트를 그리기 전에 검증 도구로 팔레트를 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Data Visualization
A chart is read by people and executed by you. This skill turns "make it look good" into a procedure with checks, so the result is right by construction rather than by taste.
The method here is design-system-agnostic. Nothing in the procedure, the form heuristic, the six checks, or the mark specs is specific to one product. A design system supplies a small set of parameters (its ramps, a categorical order, a diverging pair, a status palette, a texture, its surfaces, its filter components); the method consumes them unchanged. A validated default palette is the reference instance, fully specified in references/palette.md. To target your brand, read that file's structure and substitute its values - touch nothing else.
The single most important habit: the color part is computable, so compute it. Never eyeball whether a palette is colorblind-safe - run
scripts/validate_palette.js.
The procedure - do these in order
Color comes LAST. Most bad charts pick colors first.
- Pick the form. What is the data's job - magnitude, identity, polarity, a single headline, change-over-time? The job picks the chart type, and sometimes the answer is not a chart (a stat tile or hero number). ->
references/choosing-a-form.md - Assign color by the job it does. Categorical (identity), sequential (magnitude), diverging (polarity), or status (state) - each has one rule. Assign categorical hues in fixed order, never cycled. ->
references/color-formula.md - VALIDATE the palette - run the script, don't reason about Delta E.
node scripts/validate_palette.js "<hex,hex,...>" --mode light(relative to this skill's base directory - or load it as<script type="module">in the chart's own page, where it readsdata-paletteoff<body>and logs aconsole.tablereport). It returns pass/fail on the lightness band, chroma floor, adjacent-pair CVD separation, the normal-vision floor, and contrast. Fix anything that FAILs before continuing. Re-run for--mode darkwith that mode's surface. - Apply mark specs & spacers. Thin marks, 4px rounded data-ends anchored to the baseline, 2px lines, >=8px markers, a 2px surface gap between fills (stacked segments and adjacent bars alike) and a 2px surface ring on overlapping marks, selective direct labels. ->
references/marks-and-anatomy.md - Add the hover layer - by default. An HTML/SVG chart is interactive; ship a crosshair+tooltip on line/area and a per-mark hover tooltip on bar/dot/cell. The only form that skips it is a bare stat tile with no plot. Hit targets bigger than the mark; filters in one row above the charts. ->
references/interaction.md - Final accessibility pass. For >= 2 series a legend is always present and <= 4 are also direct-labeled (a single series needs no legend box - the title names it), so identity is never color-alone; a table view exists; dark mode is selected - its own steps from the same ramps, validated against the dark surface, not an automatic flip; texture is available for the CVD/print/forced-colors case.
- Render it and look at it. The validator checks color, not layout - open or screenshot the output and eyeball it for label collisions, geometry, and overflow before calling it done.
Then check the result against references/anti-patterns.md - it is the catalog of what goes wrong. If your chart matches an entry, it's wrong.
Non-negotiables (true in every design system)
- Assign categorical hues in fixed order, never cycled. A 9th series is never a generated hue - it folds into "Other," small multiples, or composite encoding.
- One axis. Never a dual-axis chart (two y-scales). Two measures of different scale -> two charts, small multiples, or indexed to a common base. (This is the #1 chart mistake - see anti-patterns.)
- Color follows the entity, never its rank. A filter that changes the series count must not repaint the survivors.
- Sequential = one hue, light->dark. Diverging = two hues + a neutral gray midpoint. Never a rainbow; never a hue at the diverging midpoint.
- Run the validator before shipping any categorical palette. CVD Delta E >= 8 is the target (OKLab x100); 6-8 is a floor that is legal ONLY with secondary encoding. A normal-vision floor below 15 is a hard FAIL - full-color readers can't tell the pair apart; re-step it on the adjacent pairlist (secondary encoding does not excuse this one); under
--pairs allcut series or facet
자주 묻는 질문
차트 라이브러리 하나에서만 작동하나요?
아니요. 코드, SVG, PNG 또는 차트 라이브러리 등 어떤 출력에서도 작동합니다.
색은 어떻게 고르나요?
정체성이나 크기 같은 역할에 따라 색을 배정한 뒤 접근성을 확인합니다.
색맹을 확인하나요?
네. 눈대중에 의존하지 않고 검증 도구가 팔레트를 점검합니다.
상세 정보
작성자의 원본 설명
Use this skill whenever you are about to create ANY chart, graph, plot, dashboard, or data visualization, in ANY output medium (HTML/React artifact, inline SVG, matplotlib/plotly/d3/Recharts, PNG). Read it BEFORE writing the first line of chart code, choosing chart colors, building a stat tile / KPI row, or laying out a dashboard. Teaches a design-system-agnostic method - form heuristic, color formula with a runnable validator, mark specs, interaction rules. Default palette in references/palette.md.
repo: JimLiu/baoyu-design
인기도
- GitHub 스타
- 5.9k
- 순위
- #14535
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
claude-dashboard
5.9k에이전트가 차트, 숫자, 표로 이루어진 실시간 데이터 대시보드를 만들고 각 숫자의 출처를 함께 보여 주도록 돕습니다.
claude-design-system
5.9k에이전트가 토큰, 글꼴, 컴포넌트, 자산을 갖춘 브랜드 디자인 시스템을 파일로 만들고 편집하도록 돕습니다.
claude-design
5.9k에이전트가 디자인 아트보드의 편집 가능한 캔버스를 만들어, 나란히 보고 로컬 편집기에서 조정하도록 돕습니다.
claude-slides
5.9k에이전트가 편집 가능한 슬라이드 덱을 만들고 고쳐서, 로컬 편집기에서 발표하거나 내보내도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.