FOCUS AREAS

Graphics

Bar Chart with Limits
Bar with Limits
Base SAS: ODS Graphics Procedure: SGPLOT

/* Open the LISTING destination and assign the LISTING style to the graph */ 
ods listing style=listing;
ods graphics / width=5in height=2.81in;
title 'Mileage by Type';

/* Run PROC SGPLOT on data SASHELP.CARS */
proc sgplot data=sashelp.cars;
  /* Generate a horizontal bar chart for average mileage in city driving */
  hbar type / response=mpg_city stat=mean limits=upper;
  yaxis display=(nolabel) grid;
  xaxis display=(nolabel);
run;