Bar charts compare values across categories using rectangular bars. They are one of the most effective chart types for showing rankings, comparisons, and distributions. Whether comparing sales by region, survey responses, or feature usage, bar charts make differences immediately visible. viz42 generates bar charts from natural language data descriptions with proper axes, labels, and scaling.
viz42 generates vertical bar charts by default using Mermaid's xychart-beta syntax. You can rotate the exported chart in your editor for horizontal orientation.
Bar charts work best with 3-15 categories. viz42 will generate charts with as many categories as you describe, automatically adjusting spacing.
Describe multiple data series in your prompt (e.g., 'sales by region for Q1 and Q2') and viz42 will generate grouped bars for comparison.