Bar Chart Tool
Compare values across categories. Enter your labels and values below.
Chart Data
Note: What Is a Bar Chart?
The Basics
A bar chart displays data as rectangular bars whose length is proportional to the value they represent. Each bar typically corresponds to one category, making it one of the simplest and most readable ways to compare discrete groups side by side. The bars can run vertically (column chart) or horizontally (horizontal bar chart), and the category axis usually needs no numeric scale.
Because the human eye is very good at judging length differences along a common baseline, a bar chart lets viewers see rankings and relative magnitudes almost instantly. This makes it the default choice whenever you want to answer "which category is bigger or smaller?"
Common Use Cases
- Sales by region, product, or store to spot the best and worst performers
- Top lists and rankings, such as top-selling items or highest-traffic pages
- Comparing survey responses across options like "Strongly Agree" through "Strongly Disagree"
- Population counts or quantities per category, such as customers per city
- Single-metric KPIs broken down by segment, like revenue per channel
Bar Chart vs Alternatives
Choose a bar chart when your data is categorical and you are comparing a small to medium number of groups. If instead you want to show change over time, a line chart usually communicates trends better, because the continuity of time is lost when categories are just labels. For the composition of a total, a stacked bar or pie chart works better. For a distribution, use a histogram, which is technically a bar-like chart but with numeric bins rather than category labels.
How to Use It Well
- Always start bars at zero; truncating the axis exaggerates differences and misleads readers
- Sort bars by value (ascending or descending) when the message is ranking
- Use horizontal bars when category names are long or there are many categories
- Label bars directly or use a clean gridline system so values can be read accurately
- Limit the number of categories shown; too many bars become hard to compare
Fun Facts
- William Playfair, a Scottish engineer, is credited with inventing the bar chart in the 1780s
- Playfair introduced the bar chart in his "Commercial and Political Atlas" of 1786
- Some historians argue the bar chart predates the line chart and pie chart by many years
- A bar chart that runs horizontally is still called a bar chart, while vertical bars are often called column charts
- Studies in data visualization show bars are read more accurately than pies or donuts for comparing values
- Axes need not always start at zero, but for bars a zero baseline is the standard rule of good practice
- The world's longest bar chart image stunts are popular in programming communities like r/dataisbeautiful