Bar Chart
Categorical comparison.
When to Use
Rank categories, compare discrete items, top/bottom analysis.
Data Shape
category, value (optional series for grouped bars)
Prompt Patterns
- Top 10 product categories by sum of revenue last 90 days bar chart descending.
- Count of users by subscription_plan current month grouped by region bar chart.
Best Practices
- Limit categories (≤12) or use top N + Other.
- Sort intentionally (desc by metric).
- Horizontal bars helpful for long labels.
Common Mistakes
- Too many categories.
- Unsorted bars.
- Using bar for time series (prefer line).
Example Prompts
- Top 8 cities by distinct active users last 30 days horizontal bar chart.
- Sum of revenue by region last quarter grouped by channel bar chart sorted by total revenue desc.
Troubleshooting
Crowded labels? Limit N or rotate / horizontal orientation.