FOCUS AREAS

Graphics

Student Age by Height and Weight
Base SAS: ODS Graphics Procedure: SGPLOT

%let gpath='.';
%let dpi=100;

ods html close;
ods listing gpath=&gpath image_dpi=&dpi;

ods graphics / reset width=5in height=3.75in imagename='BubbleRelative';
title 'Student Age by Height and Weight';
/*--Bubble Plot--*/
proc sgplot data=sashelp.class;
  bubble x=height y=weight size=age / group=sex fillattrs=(transparency=0.2)
         datalabel=age datalabelpos=center dataskin=sheen;
  inset 'Bubble size is proportional to age' / position=bottomright;
  xaxis grid;  yaxis grid;
  keylegend / location=inside position=topleft;
  run;

  title;