In this example, you
want to compare the manufacturer’s suggested retail price (MSRP)
for each car type grouped by region of origin. The resulting pie chart
consists of six rings—one for each car type. The rings are
then subset into the MSRP values for the three regions: Asia, Europe,
and USA. Using this chart, you can compare the total MSRP values for
each region. The ring for the SUV car type shows that the USA has
the highest MSRP and that Europe has the lowest MSRP.
To create this example:
-
In the
Tasks section,
expand the
Graph folder, and then double-click
Pie
Chart. The user interface for the Pie 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
|
Origin
|
Response
variable
|
MSRP
|
Group variable
|
Type
|
-
To run the task, click
.