All Collections
Chart Library
Horizontal Diverging Bar Chart
Horizontal Diverging Bar Chart

How to build a Horizontal Diverging Bar Chart

B
Written by Blake Hester
Updated over a week ago

A Horizontal Diverging Bar chart is a type of bar chart that displays data values on a horizontal axis, with bars oriented horizontally, and emphasizes the divergence or differences between two groups or categories of data. The length of each bar represents the magnitude or value of the data it represents. Bars on one side of the central reference line typically extend to the left, while bars on the other side extend to the right. Different colors are used to distinguish between the two groups of data, making it easier for viewers to differentiate between them visually.

This Horizontal Diverging Bar Chart example is displaying Incidents by Category.

Let's look at the Data and Chart options for this Horizontal Diverging Bar Chart. It is displaying incident data, therefore the chart is utilizing the incident table.

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

Group by: Allows users to organize and aggregate data based on specific fields or criteria.

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.

Aggregate Field: refers to a field that displays an aggregated value based on the data from other fields. These fields are used to perform calculations or summarize data from related 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.

Let's look at the Horizontal Diverging Bar chart style options that have been changed from the default style settings to provide more clarity to this chart. First a custom title of "Incidents by Category" is set to provide a quick understanding of the data the chart is displaying.

Next, the Display legend and Data values toggles are engaged to display the legend along with the data values at the bottom of the chart.

Did this answer your question?