Bar Graph

Bar Graph

A bar graph is a chart that plots data using rectangular bars or columns (called bins) that represent the total amount of observations in the data for that category. A bar graph shows data in columns, while a bar chart is a technical analysis term describing the display of the open, high, low, close (sometimes the open is omitted) prices for a particular security during a specific time period using a vertical bar. The vertical axis of the bar graph is called the y-axis, while the bottom of a bar graph is called the x-axis. Grouped bar graphs, also called clustered bar graphs, represent discrete values for more than one item that share the same category. ![Image](data:image/gif;charset=utf-8;base64,R0lGODlhCwAGAPMAAO1VUo7JxY7NxZLJw5LLwu6ipNXn6+7t8u/v8e/u8/Dv9PDw7vDw8vHx8/Dy8e1VUiwAAAAACwAGAEMIMAAZCBzYgEFBBgUEGGAwgEAABgsGSjRIkQEAgQ4EFjyIoGNHigoYKPDoMQGCAx0DAgA7) Image by Sabrina Jiang © Investopedia 2021 A typical bar graph has a label or title, x-axis, y-axis, scales or increments for the axis, and bars.

Bar graphs can be created to show data in multiple, highly visual ways.

What Is a Bar Graph?

A bar graph is a chart that plots data using rectangular bars or columns (called bins) that represent the total amount of observations in the data for that category. Bar charts can be displayed with vertical columns, horizontal bars, comparative bars (multiple bars to show a comparison between values), or stacked bars (bars containing multiple types of information).

Bar graphs are commonly used in financial analysis for displaying data. A stock volume chart is a commonly used type of vertical bar graph. A histogram is an example of a bar graph used in statistical analysis that depicts a probability distribution in some data or sample.

Bar graphs can be created to show data in multiple, highly visual ways.
Bar graphs have an x- and y-axis and can be used to showcase one, two, or many categories of data.
Data is presented via vertical or horizontal columns.
The columns can contain multiple labeled variables (or just one), or they can be grouped together (or not) for comparative purposes.

Understanding a Bar Graph

The purpose of a bar graph is to convey relational information quickly as the bars display the quantity for a particular category. The vertical axis of the bar graph is called the y-axis, while the bottom of a bar graph is called the x-axis.

When interpreting a bar graph, the length of the bars/columns determines the value as described on the y-axis.

The x-axis could be any variable, such as time, or the category that is being measured, such as earnings per share (EPS), revenue, and/or cash flow. In trading, bar graphs are often used to depict trading volume and will appear in a panel below a security's price chart.

Image

Image by Sabrina Jiang © Investopedia 2021

Bar Graph Features

A typical bar graph has a label or title, x-axis, y-axis, scales or increments for the axis, and bars. Some graphs may also have a legend that specifies what various colors represent, such as in a stacked bar graph.

Bar graphs are ideal for comparing two or more values, or values over time. Data is displayed either horizontally or vertically. Single bar graphs are used to convey discrete values of an item within a category. For instance, a bar graph could display the number of males with a certain trait for specific ages. The discrete value, or the number of instances in which an individual has a certain trait, is displayed by varying the length of the bar. More instances mean a longer bar, and fewer instances mean a shorter bar. In this example, a different bar is established for each age or age group.

In technical analysis, a volume chart shows how much volume there was on each particular day. The x-axis shows days, while a bar extending up from that day shows how much volume there was per the y-axis.

When a graph has a well-defined zero point and the data set has both positive and negative values in relation to this point, bars can still be displayed. Bars above the zero line typically represent positive values (check the scale) while bars below the zero line typically show negative values.

Data can be displayed horizontally or vertically. To switch the orientation, the x- and y-axis are switched.

Types of Bar Graphs

Grouped Bar Graphs

Grouped bar graphs, also called clustered bar graphs, represent discrete values for more than one item that share the same category.

A bar graph could display the number of individuals, male and female, with a certain trait for specific ages. The aggregate number of instances could be combined into one bar. Alternatively, the instances could remain segregated by gender; one bar for all male instances and one bar for all females instances would be placed side by side for each age or age group.

Stacked Bar Graphs

Stacked bar graphs or composite bar graphs divide an aggregate total into parts. These parts are typically identified by utilizing different colors for each section. In the example above, the aggregate of instances for both males and females may be combined into one bar but the bar may be divided into multiple sections represented by different colors.

Stacked bars require a legend or specific labeling to identify what the various parts of the bar are showing.

Bar Graphs in Technical Analysis

Some forms of technical analysis utilize bar graphs. For instance, traders may employ a moving average convergence divergence (MACD) histogram, which is a popular technical indicator that illustrates the difference between the MACD line and the signal line.

The following daily chart of Apple Inc. shares shows three types of bar graphs.

Image

Image by Sabrina Jiang © Investopedia 2021

Along the right is price by volume, a type of horizontal bar graph which shows volume dispersion based on price.

Along the bottom of the chart, volume is a type of vertical bar graph that shows bars representing the number of shares traded per day.

Finally, the MACD histogram shows the separation between the MACD and the signal line. When the histogram crosses the zero line it means the MACD and signal line have crossed, which some traders use as a trade signal.

Bar Graph vs. Bar Chart

A bar graph shows data in columns, while a bar chart is a technical analysis term describing the display of the open, high, low, close (sometimes the open is omitted) prices for a particular security during a specific time period using a vertical bar. Small horizontal lines extend to the left and right of the vertical bar to show the open and close prices.

Unlike the bar graph, the price bar only covers relevant prices and does not extend all the way up from the x-axis.

Limitations of the Bar Graph

A bar graph is a way to display information. How the data is chosen to be displayed could affect its interpretation. For example, if too large of a scale is chosen, then the data may appear insignificant — when in fact it could be very significant, but the scale doesn't allow for an appropriate comparison.

Bar graphs may also make data look compelling when it actually could be lacking substance. As with all data, verify the source it comes from, and make sure it is from a large enough pool or sample.

For example, looking at only a few days worth of volume data in a stock doesn't provide much relevant information. Yet looking at how recent volume compares to volume over the last year will provide a technical trader with more information for analyzing the volume.

Related terms:

Bar Chart

A bar chart shows where the price of an asset moved over a period of time and is useful for tracking prices and aiding in trading decisions. read more

Cash Flow

Cash flow is the net amount of cash and cash equivalents being transferred into and out of a business. read more

Forex Chart

A forex chart graphically depicts the historical behavior, across varying time frames, of the relative price movement between two currency pairs. read more

Earnings Per Share (EPS)

Earnings per share (EPS) is the portion of a company's profit allocated to each outstanding share of common stock. Earnings per share serve as an indicator of a company's profitability. read more

Forex Charting Software

Forex charting software helps traders analyze foreign currency pairs price trends, enabling them to make informed trading decisions. read more

Histogram

A histogram is a graphical representation that organizes a group of data points into user-specified ranges. read more

Horizontal Line and Example

A horizontal line proceeds from left to right on a chart, or parallel to the x-axis. It commonly marks support or resistance in technical analysis. read more

Line Graph

A line graph connects individual data points that, typically, display quantitative values over a specified time interval. read more

Moving Average Convergence Divergence (MACD)

Moving Average Convergence Divergence (MACD) is defined as a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. read more

Price by Volume Chart (PBV)

A price by volume (PBV) chart is a horizontal histogram plotted on a security's chart, showing the volume of shares traded at a specific price level. read more