Horizontal Bar Chart
Horizontal Bar charts display values for multiple dimensions, with two measures displayed as the width and color of the bar for each dimension group.
Features | Quantity | Notes |
---|---|---|
Required Dimensions | 1+ | Minimum 1, no limit, null dimensions optional. |
Required Measures | 1-2 | Measure 1 = bar width, Measure 2 = bar color. |
Bar charts are useful for showing relative values based on categories of information, particularly when the category label is long.
Bar Chart Examples
Create a new Bar chart. Choose a Data Source. This example uses the official database of UFO sightings
Bar charts require a minimum of one dimension and one measure.
For example, this chart categorizes on the Dimension of shape and uses the count of each shape as the Measure.
You can add any number of dimensions to your Bar chart. For example, you can combine the shape with the state where they were seen.
When you use two measures, the first measure (shape) is indicated by the width of the bar, while the second measure (duration_seconds) is indicated by the color of the bar. Reversing the Color Palette makes the labels easier to read, in this example.
You can use a custom palette to color by dimension and visually group values in your bar chart. For example, this chart assigns colors to similar shapes (for example, rounded shapes such as disk, circle, sphere, and oval are all colored orange).