Creating bar graphs

As bar graphs are very easy to understand, they are the most common type of graphs. The graphs that have a horizontal orientation are called bar graphs and the graphs that have a vertical orientation are called column graphs. The length of the bar represents the quantity of a particular measure. They are best used with categorical information, such as gender, state, regions, countries, business types, and others. One very important thing to note with the column bar charts is that this type of chart's y axis must always start at zero, otherwise it is very difficult and misleading to encode the length of the bar to a measure.

Getting ready

Let's use the sample file, Sample – Superstore Sales (Excel). Open a new worksheet and select Sample – Superstore Sales (Excel) as the data source.

How to do it...

Once the data is loaded, perform the following steps to create a simple bar graph:

  1. Drag-and-drop State into the Rows shelf.
  2. Drag-and-drop Profit into the Columns shelf.
  3. You should see the Profit totals by State in the Columns area in plain numbers.
  4. To change the text representation to a bar graph, click on the Show Me button on the toolbar (shown in the following screenshot).
  5. From the Show Me toolbar, select horizontal bars as shown in the following screenshot:
    How to do it...

How it works...

By changing the default behavior of showing text tables to showing bar charts, we can make it easier for the reader to compare various measures by comparing the lengths of the different bars. In addition, since bar charts are common in various publications, the reader is adept at understanding bar charts.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset