Skip to Main Content
Hands-On SAS for Data Analysis
book

Hands-On SAS for Data Analysis

by Harish Gulati
September 2019
Beginner to intermediate content levelBeginner to intermediate
346 pages
7h 35m
English
Packt Publishing
Content preview from Hands-On SAS for Data Analysis

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Big Data Analytics with SAS

Big Data Analytics with SAS

David Pope, Subhashini S Tripathi
An Introduction to SAS Visual Analytics

An Introduction to SAS Visual Analytics

Tricia Aanderud, Rob Collum, Ryan Kumpfmiller

Publisher Resources

ISBN: 9781788839822Supplemental Content