In this example, you
want to display the mean horsepower for each car type in a line plot.
The result shows that sports cars have the highest average horsepower
and hybrid cars have the lowest average horsepower.
To create this example:
-
In the
Tasks section,
expand the
Graph folder, and then double-click
Line
Chart. The user interface for the Line Chart task opens.
-
On the
Data tab,
select the
SASHELP.CARS data set.
Tip
If the data set is
not available from the drop-down list, click
. In the
Choose a Table window,
expand the library that contains the data set that you want to use.
Select the data set for the example and click
OK.
The selected data set should now appear in the drop-down list.
-
Assign columns to these
roles:
Role
|
Column Name
|
Category
variable
|
Type
|
Response
variable
|
Horsepower
|
-
To run the task, click
.