14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

470 Creating Tree Maps Chapter 19<br />

Example of Tree Maps<br />

Categories<br />

Ordering<br />

The only required variable role for the Tree Map platform is Categories. If you specify only a Categories<br />

variable <strong>and</strong> no other variables, the rectangles in the tree map have these attributes:<br />

• They are colored from a rotating color theme.<br />

• They are arranged alphabetically.<br />

• They are sized by the number of occurrences in each group.<br />

If you specify two Categories variables, the tree map is grouped by the first variable, <strong>and</strong> sorts within<br />

groups by the second variable. For example, using the Cities.jmp sample data table, specify Region <strong>and</strong> city<br />

(in that order) as the Categories variables.<br />

By default, the rectangles in a tree map appear in alphabetical order, with values progressing from the top<br />

left to the lower right. To change this ordering, specify an Ordering variable. When an Ordering variable is<br />

specified, the rectangles appear with the values progressing from the bottom left to the upper right.<br />

If you specify a single Ordering variable, the rectangles are clustered, with the high levels or large values<br />

together, <strong>and</strong> the low levels or small values together.<br />

If you specify two Ordering variables, the tree map arranges the rectangles horizontally by the first ordering<br />

variable, <strong>and</strong> vertically by the second ordering variable. This approach can be useful for geographic data.<br />

Coloring<br />

If you specify a Coloring variable, the colors of the rectangles correspond to the levels of the variable.<br />

• If the variable is continuous, the colors are based on a continuous color theme setting. The default color<br />

theme is Blue to Gray to Red. The color of each value is based on the average value of all of the rows.<br />

Blue represents the lowest values, <strong>and</strong> red represents the highest values. The color is most intense at the<br />

extremes of the variable, <strong>and</strong> paler colors correspond to levels that are close to the mean. For example,<br />

see “The Tree Map Window” on page 471.<br />

• If the variable is categorical, the colors are based on a categorical color theme. The default color theme is<br />

JMP Default. For example, see “Example of a Categorical Coloring Variable” on page 476.<br />

Note: If you have used the Value Colors column property to color a column, that property determines the<br />

colors of the categories.<br />

• If you do not specify a Coloring variable, colors are chosen from a rotating color palette.<br />

Related Information<br />

• “Example Using a Sizes Variable” on page 473<br />

• “Example Using an Ordering Variable” on page 474

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!