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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.