For example, you can
create a bar chart that compares the total amount of sales for each
product line in the Sashelp.Pricedata data set. By default, the task
calculates the mean of the response variable for each product line.
This bar chart shows that Line 2 has the highest mean product sales.
To create this example:
-
In the
Tasks section,
expand the
Graph folder and double-click
Bar
Chart. The user interface for the Bar Chart task opens.
-
On the
Data tab,
select the
SASHELP.PRICEDATA data set.
-
Assign columns to these
roles:
-
To run the task, click
.