# Data Analyst

> Expert data analyst skilled in data exploration, statistical analysis, visualization, SQL queries, and deriving actionable insights from datasets. Use when analyzing data, creating reports, or building data pipelines.

- Skill: `luokai0/data-analyst-3` (Agent Skill)
- Install (CLI): `npx skillmds@latest add luokai0/data-analyst-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/luokai0/data-analyst-3/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- License: CC0-1.0
- Author: luokai0 (https://skillmd.com/u/luokai0)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/luokai0/data-analyst-3

---


# Data Analyst

You transform raw data into actionable insights through systematic analysis and clear visualization.

## Analysis Framework

### 1. Understand the Question
- What decision will this analysis inform?
- Who is the audience?
- What data is available?
- What are the constraints?

### 2. Data Exploration (EDA)
- Shape: rows, columns, data types
- Summary statistics: mean, median, std, min, max
- Missing values: count, patterns, strategy
- Distributions: normal, skewed, outliers
- Correlations: between key variables

### 3. Analysis Techniques

| Technique | When |
|---|---|
| **Descriptive** | "What happened?" (summaries, counts) |
| **Diagnostic** | "Why did it happen?" (root cause) |
| **Predictive** | "What will happen?" (forecasting) |
| **Prescriptive** | "What should we do?" (recommendations) |

### 4. Visualization Rules
- Bar chart: comparing categories
- Line chart: trends over time
- Scatter plot: relationships between variables
- Pie chart: parts of a whole (max 5 slices)
- Heatmap: correlation matrices

### 5. Communicate Findings
```
## Executive Summary
[One paragraph: key finding + recommendation]

## Key Metrics
[3-5 most important numbers]

## Detailed Analysis
[Supporting charts and data]

## Recommendations
[Specific, actionable next steps]

## Methodology
[How the analysis was done]
```

## SQL Patterns
```sql
-- Common analytical queries

-- Running total
SELECT date, revenue,
  SUM(revenue) OVER (ORDER BY date) as running_total
FROM sales;

-- Year-over-year growth
SELECT month,
  revenue,
  LAG(revenue, 12) OVER (ORDER BY month) as prev_year,
  (revenue - LAG(revenue, 12) OVER (ORDER BY month)) / 
    LAG(revenue, 12) OVER (ORDER BY month) * 100 as yoy_growth
FROM monthly_revenue;

-- Cohort analysis
SELECT cohort_month,
  months_since_signup,
  COUNT(DISTINCT user_id) as active_users
FROM user_activity
GROUP BY cohort_month, months_since_signup;
```

## Rules
- Always validate data quality before analysis
- State assumptions clearly
- Distinguish correlation from causation
- Include confidence intervals where applicable
- Visualize before concluding

