The bar chart is a familiar visualization that presents a value in either vertical or horizontal bars. Bar charts are useful for comparing quantities across different categories.

Bar charts can additionally be displayed as grouped bar charts, or horizontally, as shown below, by selecting Horizontal chart in the Encoding settings. See Bar chart settings.

For example, you can use vertical bar charts to compare data over time, while horizontal bar charts are useful for comparing fixed and discrete categories, such as countries, products, or names.

Bar chart settings

Click Chart settings to configure the properties for a bar chart.

SettingDescription
EncodingConfigure how the data is mapped to the X and Y axes.

Select Horizontal chart to change the visualization to a horizontal bar chart.
AxisProvides the following options:
  • Show/hide the labels for the X and Y axes.
  • Show/hide the X and Y axes grid lines.
  • Select Fit to Data to have the bar chart fill up the white space in the chart.
  • Use Lower bound and Upper bound to lock the X and Y axes between exact minimum and maximum numbers.
Y value formattingConfigure how the values on the Y axis are represented.
  • Select a number unit type, such as decimal, unit, or currency.
  • Select a locale, notation, compact display, and sign display
  • Select Hide grouping separators to remove the commas, periods, or spaces used to break up large numbers into readable blocks.
  • Select the number of fraction digits and significant digits you want displayed.
Bar styleSelect how you want the bars to be stylized:
  • Select translucent, solid fill, or no fill bars.
  • Select Normalize to draw bars as a percentage of the total.
Legend and tooltipCustomize the legend in the chart:
  • Select whether you want to have a visible legend, its position, and whether to display as a list or table.
  • Select the sort order of the legend, either ascending or descending.
  • Customize how you want null entries displayed.
ColorsConfigure the color scheme you want to use for the chart.
OverlaysConfigure additional visual markers on the chart:
  • Enable Show Thresholds to show a line delineating some threshold number, perhaps corresponding with a threshold in a Monitor that when exceeded, will fire an alert.
  • Use Annotation Label and Dataset together to view the data from another Dataset on top of your visualization, such as viewing deployment markers for APM.

Below is an example of a Deployment Dataset on top of some Kubernetes log data:




Did this page help you?