Chapter Contents |
Previous |
Next |

The GCHART Procedure |

The procedure calculates these statistics:

- frequency or cumulative frequency
counts
- percentages or cumulative
percentages
- sums
- means.

Use the GCHART procedure to

- display and compare exact and relative magnitudes
- examine the contribution of parts to the
whole
- analyze where data are out of balance.

About Block Charts |

Block Chart (GR13N01) shows a simple block chart of total sales for three manufacturing sites. Each site is a midpoint and occupies one square. The name of the site (the midpoint value) is printed below the square. Midpoint values are, by default, arranged in ascending order from left to right. The label below the midpoint grid names the chart variable.

Sales for the site (the chart statistic) are represented by the height of the block; sales amount (the formatted statistic value) is printed below the block. The heading above the blocks describes the type of statistic, in this case SUM.

The program for this chart is in Specifying the Sum Statistic in a Block Chart. For more information on producing block charts, see BLOCK Statement.

About Bar Charts |

Horizontal Bar Chart (GR13N03(a)) shows a simple horizontal bar chart of total sales for three manufacturing sites. Each site is a midpoint and is displayed as a bar. The name of the site (the midpoint value) is printed on the midpoint axis beside the bar. Midpoint values are, by default, arranged in ascending order from top to bottom of the chart and labeled with the name of the chart variable.

The chart statistics, in this case total sales for each site, are represented by the length of the bars. The response axis displays the scale of values for the chart statistic. The table of statistics to the right of the bars displays the exact statistic for each bar. Both a column in the table and the response axis are labeled with the name of the summary variable and the type of statistic.

*Horizontal Bar Chart (GR13N03(a))*

The program for this chart is Specifying the Sum Statistic in Bar Charts.

Vertical Bar Chart (GR13N03(b)) shows the same data presented as a vertical bar chart. The two types of bar charts have essentially the same characteristics, except that horizontal bar charts by default display a table of statistic values to the right of the bars, while vertical bar charts can optionally display the statistic value above or inside of each bar.

*Vertical Bar Chart (GR13N03(b))*

The program for this chart is Specifying the Sum Statistic in Bar Charts. For more information on producing horizontal and vertical bar charts, see HBAR, HBAR3D, VBAR, and VBAR3D Statements.

About Pie and Donut Charts |

Pie Chart (GR13N08(a)) shows a pie chart of total sales for three manufacturing sites. Each site is a midpoint and is displayed as a slice. By default, the slices are ordered counterclockwise beginning at the 3 o'clock position.

Sales for the site (the chart statistic) are represented by the size of the slice. Both the sales amount (the formatted value of the chart statistic) and the name of the site (the midpoint value) are printed outside of the slice. You can also label pie slices with the percentage of the total statistic value that they represent. The heading above the pie describes the type of statistic (SUM), and names the summary variable (SALES) and the chart variable (SITE).

3D Pie Chart (GR13N08(b)) show the three-dimensional version of the same pie chart.

The program for these charts is Specifying the Sum Statistic for a Pie Chart. For more information on producing pie or donut charts, see PIE, PIE3D, and DONUT Statements.

About Star Charts |

Star Chart (GR13N13) shows the total sales for the three manufacturing sites as a star chart. Each site is a midpoint and is displayed as a spine. By default the ends of the spines are connected and they are ordered counterclockwise beginning at the 3 o'clock position.

Sales for the site (the chart statistic) are represented by the length of the spine. Both the sales amount (the formatted statistic value) and the name of the site (the midpoint value) are printed outside of the star chart. You can also label star charts with the percentage of the total statistic value that they represent. The heading above the chart describes the type of statistic (SUM), and names the summary variable (SALES) and the chart variable (SITE).

The program for this chart is Specifying the Sum Statistic in a Star Chart. For more information on producing star charts, see STAR Statement.

Chapter Contents |
Previous |
Next |
Top of Page |

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.