All Collections
Chart Library
Horizontal Bar Chart
Horizontal Bar Chart

How to build a horizontal bar chart

B
Written by Blake Hester
Updated over a week ago


A Horizontal Bar Chart is a data visualization that represents information using horizontal bars. In this type of chart, the length of each bar is proportional to the value it represents. The bars are typically arranged along the vertical axis, and the horizontal axis represents the scale or categories of the data.

The Horizontal Bar Chart example below is displaying the Projects by State.

Let's look at the Data and Chart options for the Horizontal Bar Chart. The Horizontal Bar Chart is dealing with projects, so the chart is using the Project Table.

Conditions: Setting conditions allows you to query the table you are building the chart off of.

Aggregate Type: Refers to a data aggregation method or function used to combine or summarize data from multiple records. They allow users to perform calculations on sets of records to derive meaningful insights. Some common aggregate types include:

  1. Count: Calculates the number of records in a set.

  2. Count Distinct: counts the number of unique, non-duplicated values in a field.

  3. Sum: Adds up the values of a specified field for a set of records.

  4. Average: Computes the average value of a specified field for a set of records.

  5. Minimum: Finds the minimum value of a specified field in a set of records.

  6. Maximum: Determines the maximum value of a specified field in a set of records.
    โ€‹

Sort by: Allows user to determine the order of the list. Sort by can set as Value Descending, Value Ascending, Alphabetically Descending, Alphabetically Ascending.

Limit: User can set the limit to determine how many bars will appear on the y-axis.

Let's look at the styling options that have been changed from the default style settings to give this Horizontal Bar Chart more clarity. First a custom title of Projects by State is set.

Next, the Data values toggle is engaged to display the data values at the bottom of the chart.

Did this answer your question?