Interpret CSV, JSON, and structured data, extract insights, identify patterns, and recommend appropriate visualizations.
This skill provides a systematic approach to data analysis for tabular and structured data. It covers data profiling, statistical summary, trend identification, anomaly detection, and visualization recommendations. Designed for users who have data but need help understanding what it means and how to present it effectively.
Before analysis, profile the data:
text
Dataset Profile:
- Rows: [count]
- Columns: [count]
- Column types: [list each column with type: numeric, categorical, date, text]
- Missing values: [percentage per column]
- Date range: [if applicable]
- Key metrics summary: [mean, median, min, max for numeric columns]
Identify data quality issues:
Apply the appropriate analysis based on data type and question:
Structure findings as:
text
## Key Findings
1. **[Finding title]**
- What: Specific observation with numbers
- So what: Business impact or implication
- Action: Recommended next step
2. **[Finding title]**
- ...
Prioritize insights by:
For each finding, recommend the best chart type:
Story You Want to TellBest Chart TypeWhen to UseChange over timeLine chartTime-series with 5+ data pointsCompare categoriesBar chartUp to 10 categoriesShow compositionStacked bar / PieParts of a whole (pie for ≤5 slices)Show distributionHistogram / Box plotNumeric data distributionShow relationshipScatter plotTwo numeric variablesCompare metricsCombined chartTwo different scales on same timelineShow progressBullet / GaugeCurrent vs. targetGeographic dataMap / ChoroplethLocation-based dataFunnel / conversionFunnel chartSequential stage drop-off
Specify for each recommendation:
markdown
## Data Analysis Report
### Dataset Overview
[Profile summary]
### Key Findings
1. [Finding with data, impact, action]
2. [Finding]
3. [Finding]
### Anomalies & Notes
[Any unusual patterns or data quality concerns]
### Recommended Visualizations
1. [Chart type + description]
2. [Chart type + description]
### Data Quality
[Missing values, inconsistencies, recommendations]
Input: A CSV with columns [date, product_category, revenue, units_sold]
Analysis Output:
text
Key Findings:
1. Electronics accounts for 42% of revenue but only 18% of units → highest ASP
Action: Investigate if premium electronics strategy is sustainable
2. Revenue dipped 23% in February across all categories → likely seasonal
Note: Same pattern in previous year, but 2025 dip is steeper
3. "Home & Garden" shows 67% growth YoY → emerging category
Action: Increase inventory allocation for Q3
Recommended Visualizations:
1. Stacked area chart: Revenue by category over time (shows composition + trend)
2. Bar chart: Revenue vs. units by category (highlights ASP differences)
3. Line chart with YoY comparison: Total revenue, 2024 vs 2025