Bar

What type of data does a bar graph represent?

Bar graphs represent categorical data (data that is divided into distinct groups or categories). Each bar in the graph represents a different category, and the height or length of the bar corresponds to a numerical value associated with that category.

Some examples of data types:

  • Counts or frequencies: The number of items or occurrences within each category (e.g., number of students in different majors, frequency of different car colors in a parking lot).

  • Percentages or proportions: The relative share of each category within a whole (e.g., percentage of voters supporting different candidates, market share of different brands).

  • Averages or other summary statistics: The average, median, or other summary measures calculated for each category (e.g., average salary by job title, median home price by neighborhood).

You can also use bar graphs to display discrete numerical data (data with distinct, separate values) under certain circumstances.

You can switch to stacked or clustered horizontal or vertical bar graphs (depending upon the nature of your dataset).

Choose the X-axis and Y-axis from the dropdown.

Toggle Sort to represent data in descending or ascending order (according to axis).

Switch to Style to update:

  • Color palette

  • Legend

  • Representative legend's symbol

  • Enter custom name for legends

  • Bar style (border-radius, column width, and space between columns)

Last updated