Vertical and horizontal bar charts

A vertical bar chart is not a histogram. Remember that the first chart you saw in this chapter was a histogram and its y-axis totaled 100%. This won't necessarily happen in every vertical bar chart. A histogram is more than a vertical representation of data, as we saw when we used one to understand the probability distribution function using density curves. Let's delve into how vertical bar charts can make our data visually appealing. As always, we will start with a simple example:

Proc SGPLOT Data=Class;  VBar Height;  Title ' Basic Form of Vertical Chart';Run;

The chart that's produced is as follows: 

There ...

Get Hands-On SAS for Data Analysis now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.