# Bar Visualization Guide

**Component Reference:** Bar or @splunk/visualizations/Bar

## Overview

A bar chart is used to compare structural (categorical) data in one period or one point of time. It can also be used to compare multiple structural data series summed. By being based on an axis, bar lengths can be easily compared against one another.

## Details

- **Category:** Comparisons
- **Visualization Type:** splunk.bar

## Tips

- Bar charts should not be used to display time series data. If you would like to compare time series data, try using a line chart, column chart, or area chart.
- When using a stacked bar chart don’t use too many series as it may be confusing or overwhelming for the viewer.

## Variations

| Variation | Description | Key |
| --- | --- | --- |
| Single Series | Use a basic bar chart to compare quantitative values between multiple categories. | single |
| Multi Series | Use a multi-series bar chart to compare more than one data series. | multi |
| Stacked Series | Stacked bar charts represent multiple data series summed for one period or one point in time. Stacked bars should only be used if all chart values are either positive or negative. Position the data series of central importance directly on the x-axis (vertical axis) in order to best see the comparison between categories. | stacked |
