Sas Graph. Creating a bar chart using sas graph. If you are not at all familiar with plots in sas go to my learn sas programming section where i recommend some great introduction learning materials to the sg procedures.
West ca 13636 west or 18988 west wa. Use the sas graph gchart procedure to generate a vertical bar chart. Create data set regions data regions.
This presentation provides an overview the types of graphs that can be produced with sas graph software and the basic procedure syntax for creating some of them including bar charts and plots.
Input region state sales. Gr23n20 set the graphics environment goptions reset global gunit pct border ftext swissb htitle 6 htext 3. Also check out the getting started with sgplot blog series at graphically speaking for a good. Sas 9 4 viya 3 4 provides as one of two references comprehensive detail about all of the features and options available with sas graph software.