본문으로 건너뛰기
cccskills
무료GitHub에 공개

visualizing-data

Builds dashboards, reports, and data-driven interfaces requiring charts, graphs, or visual analytics. Provides systematic framework for selecting appropriate visualizations based on data characteristics and analytical purpose. Includes 24+ visualization types organized by purpose (trends, comparisons, distributions, relationships, flows, hierarchies, geospatial), accessibility patterns (WCAG 2.1 AA compliance), colorblind-safe palettes, and performance optimization strategies. Use when creating visualizations, choosing chart types, displaying data graphically, or designing data interfaces.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(44)

  • SKILL.md9.4 KB
  • assets/color-palettes/categorical-extended.json2.0 KB
  • assets/color-palettes/colorblind-safe.json2.0 KB
  • assets/color-palettes/diverging-scales.json2.4 KB
  • assets/color-palettes/sequential-scales.json2.9 KB
  • assets/example-datasets/hierarchical-data.json1010 B
  • assets/example-datasets/sales-data.csv411 B
  • assets/example-datasets/time-series.json1.5 KB
  • examples/javascript/accessible-chart.tsx17.0 KB
  • examples/javascript/area-chart.tsx2.8 KB
  • examples/javascript/bar-chart.tsx2.3 KB
  • examples/javascript/line-chart.tsx4.5 KB
  • examples/javascript/pie-chart.tsx3.9 KB
  • examples/javascript/scatter-plot.tsx3.5 KB
  • examples/skill-library-viz/.gitignore268 B
  • examples/skill-library-viz/App.tsx8.0 KB
  • examples/skill-library-viz/index.html1.0 KB
  • examples/skill-library-viz/main.tsx214 B
  • examples/skill-library-viz/package.json1.1 KB
  • examples/skill-library-viz/README.md6.9 KB
  • examples/skill-library-viz/SkillLibraryBarChart.tsx8.4 KB
  • examples/skill-library-viz/skillLibraryData.ts3.2 KB
  • examples/skill-library-viz/SkillLibrarySunburst.tsx10.9 KB
  • examples/skill-library-viz/SkillLibraryTreemap.tsx6.6 KB
  • examples/skill-library-viz/tsconfig.json615 B
  • examples/skill-library-viz/tsconfig.node.json213 B
  • examples/skill-library-viz/vite.config.ts213 B
  • outputs.yaml18.5 KB
  • references/accessibility.md12.2 KB
  • references/chart-catalog.md18.5 KB
  • references/color-systems.md6.8 KB
  • references/go/README.md411 B
  • references/javascript/recharts-examples.md8.4 KB
  • references/performance.md8.9 KB
  • references/python/matplotlib-examples.md5.6 KB
  • references/python/plotly-examples.md10.7 KB
  • references/python/README.md1.0 KB
  • references/rust/README.md427 B
  • references/selection-matrix.md8.3 KB
  • scripts/generate_color_palette.py5.9 KB
  • scripts/process_data.py4.5 KB
  • scripts/validate_accessibility.py6.1 KB
  • skill-methodology/initial_release.md10.8 KB
  • skill-methodology/secondary_release.md8.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Data Visualization Component Library

Systematic guidance for selecting and implementing effective data visualizations, matching data characteristics with appropriate visualization types, ensuring clarity, accessibility, and impact.

Overview

Data visualization transforms raw data into visual representations that reveal patterns, trends, and insights. This skill provides:

  1. Selection Framework: Systematic decision trees from data type + purpose → chart type
  2. 24+ Visualization Methods: Organized by analytical purpose
  3. Accessibility Patterns: WCAG 2.1 AA compliance, colorblind-safe palettes
  4. Performance Strategies: Optimize for dataset size (<1000 to >100K points)
  5. Multi-Language Support: JavaScript/TypeScript (primary), Python, Rust, Go

Quick Start Workflow

Step 1: Assess Data

What type? [categorical | continuous | temporal | spatial | hierarchical]
How many dimensions? [1D | 2D | multivariate]
How many points? [<100 | 100-1K | 1K-10K | >10K]

Step 2: Determine Purpose

What story to tell? [comparison | trend | distribution | relationship | composition | flow | hierarchy | geographic]

Step 3: Select Chart Type

Quick Selection:

  • Compare 5-10 categories → Bar Chart
  • Show sales over 12 months → Line Chart
  • Display distribution of ages → Histogram or Violin Plot
  • Explore correlation → Scatter Plot
  • Show budget breakdown → Treemap or Stacked Bar

Complete decision trees: See references/selection-matrix.md

Step 4: Implement

See language sections below for recommended libraries.

Step 5: Apply Accessibility

  • Add text alternative (aria-label)
  • Ensure 3:1 color contrast minimum
  • Use colorblind-safe palette
  • Provide data table alternative

Step 6: Optimize Performance

  • <1000 points: Standard SVG rendering
  • 1000 points: Sampling or Canvas rendering

  • Very large: Server-side aggregation

Purpose-First Selection

Match analytical purpose to chart type:

PurposeChart Types
Compare valuesBar Chart, Lollipop Chart
Show trendsLine Chart, Area Chart
Reveal distributionsHistogram, Violin Plot, Box Plot
Explore relationshipsScatter Plot, Bubble Chart
Explain compositionTreemap, Stacked Bar, Pie Chart (<6 slices)
Visualize flowSankey Diagram, Chord Diagram
Display hierarchySunburst, Dendrogram, Treemap
Show geographicChoropleth Map, Symbol Map

Visualization Catalog

Tier 1: Fundamental Primitives

General audiences, straightforward data stories:

  • Bar Chart: Compare categories
  • Line Chart: Show trends over time
  • Scatter Plot: Explore relationships
  • Pie Chart: Part-to-whole (max 5-6 slices)
  • Area Chart: Emphasize magnitude over time

Tier 2: Purpose-Driven

Specific analytical insights:

  • Comparison: Grouped Bar, Lollipop, Bullet Chart
  • Trend: Stream Graph, Slope Graph, Sparklines
  • Distribution: Violin Plot, Box Plot, Histogram
  • Relationship: Bubble Chart, Hexbin Plot
  • Composition: Treemap, Sunburst, Waterfall
  • Flow: Sankey Diagram, Chord Diagram

Tier 3: Advanced

Complex data, sophisticated audiences:

  • Multi-dimensional: Parallel Coordinates, Radar Chart, Small Multiples
  • Temporal: Gantt Chart, Calendar Heatmap, Candlestick
  • Network: Force-Directed Graph, Adjacency Matrix

Detailed descriptions: See references/chart-catalog.md


Accessibility Requirements (WCAG 2.1 AA)

Text Alternatives

<figure role="img" aria-label="Sales increased 15% from Q3 to Q4">
  <svg>...</svg>
</figure>

Color Requirements

  • Non-text UI elements: 3:1 minimum contrast
  • Text: 4.5:1 minimum (or 3:1 for large text ≥24px)
  • Don't rely on color alone - use patterns/textures + labels

Colorblind-Safe Palettes

IBM Palette (Recommended):

#648FFF (Blue), #785EF0 (Purple), #DC267F (Magenta),
#FE6100 (Orange), #FFB000 (Yellow)

Avoid: Red/Green combinations (8% of males have red-green colorblindness)

Keyboard Navigation

  • Tab through interactive elements
  • Enter/Space to activate tooltips
  • Arrow keys to navigate data points

Complete accessibility guide: See references/accessibility.md


Performance by Data Volume

RowsStrategyImplementation
<1,000Direct renderingStandard libraries (SVG)
1K-10KSampling/aggregationDownsample to ~500 points
10K-100KCanvas renderingSwitch from SVG to Canvas
>100KServer-side aggregationBackend processing

JavaScript/TypeScript Implementation

Recharts (Business Dashboards)

Composable React components, declarative API, responsive by default.

npm install recharts
import { LineChart, Line, XAxis, YAxis, Tooltip, ResponsiveContainer } from 'recharts';

const data = [
  { month: 'Jan', sales: 4000 },
  { month: 'Feb', sales: 3000 },
  { month: 'Mar', sales: 5000 },
];

export function SalesChart() {
  return (
    <ResponsiveContainer width="100%" height={300}>
      <LineChart data={data}>
        <XAxis dataKey="month" />
        <YAxis />
        <Tooltip />
        <Line type="monotone" dataKey="sales" stroke="#8884d8" />
      </LineChart>
    </ResponsiveContainer>
  );
}

D3.js (Custom Visualizations)

Maximum flexibility, industry standard, unlimited chart types.

npm install d3

Plotly (Scientific/Interactive)

3D visualizations, statistical charts, interactive out-of-box.

npm install react-plotly.js plotly.js

Detailed examples: See references/javascript/


Python Implementation

Common Libraries:

  • Plotly - Interactive charts (same API as JavaScript)
  • Matplotlib - Publication-quality static plots
  • Seaborn - Statistical visualizations
  • Altair - Declarative visualization grammar

When building Python implementations:

  1. Follow universal patterns above
  2. Use RESEARCH_GUIDE.md to research libraries
  3. Add to references/python/

Integration with Design Tokens

Reference the design-tokens skill for theming:

--chart-color-primary
--chart-color-1 through --chart-color-10
--chart-axis-color
--chart-grid-color
--chart-tooltip-bg
<Line stroke="var(--chart-color-primary)" />

Light/dark/high-contrast themes work automatically via design tokens.


Common Mistakes to Avoid

  1. Chart-first thinking - Choose based on data + purpose, not aesthetics
  2. Pie charts for >6 categories - Use sorted bar chart instead
  3. Dual-axis charts - Usually misleading, use small multiples
  4. 3D when 2D sufficient - Adds complexity, reduces clarity
  5. Rainbow color scales - Not perceptually uniform, not colorblind-safe
  6. Truncated y-axis - Indicate clearly or start at zero
  7. Too many colors - Limit to 6-8 distinct categories
  8. Missing context - Always label axes, include units

Quick Decision Tree

START: What is your data?

Categorical (categories/groups)
  ├─ Compare values → Bar Chart
  ├─ Show composition → Treemap or Pie Chart (<6 slices)
  └─ Show flow → Sankey Diagram

Continuous (numbers)
  ├─ Single variable → Histogram, Violin Plot
  └─ Two variables → Scatter Plot

Temporal (time series)
  ├─ Single metric → Line Chart
  ├─ Multiple metrics → Small Multiples
  └─ Daily patterns → Calendar Heatmap

Hierarchical (nested)
  ├─ Proportions → Treemap
  └─ Show depth → Sunburst, Dendrogram

Geographic (locations)
  ├─ Regional aggregates → Choropleth Map
  └─ Point locations → Symbol Map

References

Selection Guides:

  • references/chart-catalog.md - All 24+ visualization types
  • references/selection-matrix.md - Complete decision trees

Technical Guides:

  • references/accessibility.md - WCAG 2.1 AA patterns
  • references/color-systems.md - Colorblind-safe palettes
  • references/performance.md - Optimization by data volume

Language-Specific:

  • references/javascript/ - React, D3.js, Plotly examples
  • references/python/ - Plotly, Matplotlib, Seaborn

Assets:

  • assets/color-palettes/ - Accessible color schemes
  • assets/example-datasets/ - Sample data for testing

Examples

Working code examples:

  • examples/javascript/bar-chart.tsx
  • examples/javascript/line-chart.tsx
  • examples/javascript/scatter-plot.tsx
  • examples/javascript/accessible-chart.tsx
cd examples/javascript && npm install && npm start

Validation

# Validate accessibility
scripts/validate_accessibility.py <chart-html>

# Test colorblind
# Use browser DevTools color vision deficiency emulator

Progressive disclosure: This SKILL.md provides overview and quick start. Detailed documentation, code examples, and language-specific implementations in references/ and examples/ directories.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying applications, optimizing server performance, diagnosing production issues, or managing users and security on Linux servers.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ancoleman/ai-design-components5252025년 12월 11일 업데이트

Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations. Covers feature stores (Feast, Tecton), embedding pipelines, chunking strategies, orchestration (Dagster, Prefect, Airflow), dbt transformations, data versioning (LakeFS), and experiment tracking (MLflow, W&B).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ancoleman/ai-design-components5252025년 12월 11일 업데이트

Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional, normalized, data vault, wide tables), data mesh principles, and medallion architecture patterns. Use when architecting data platforms, choosing between centralized vs decentralized patterns, selecting table formats (Iceberg, Delta Lake), or designing data governance frameworks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ancoleman/ai-design-components5252025년 12월 11일 업데이트

Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology, implementing multi-cloud networking, or establishing secure network segmentation for cloud workloads.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ancoleman/ai-design-components5252025년 12월 11일 업데이트

Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF, CIS Controls, ISO 27001). Use when designing security for new systems, auditing existing architectures, or establishing security governance programs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ancoleman/ai-design-components5252025년 12월 11일 업데이트

Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import chains, and framework-specific scaffolding. Use as the capstone skill after running theming, layout, dashboard, data-viz, or feedback skills to wire components into working React/Next.js, Python, or Rust projects.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ancoleman/ai-design-components5252025년 12월 11일 업데이트

ancoleman의 스킬 모두 보기

이 스킬의 문제 신고