This course teaches you how to write SAS programs that use ODS Graphics to produce high-quality data visualizations. ODS Graphics is part of Base SAS.
Learn How To
Use the SGPLOT procedure to create a wide variety of single-cell graphs. Use the SGPANEL and SGSCATTER procedures to create multi-cell graphs. Use the SGPIE procedure to create pie and donut charts. Use the SGMAP procedure to render maps with overlaid plots. Enhance visualizations with graph elements such as style attributes, axes, and legends. Customize visualizations by adding features from annotation or attribute map tables. Use ODS statements to deliver graphs in multiple formats. Use Graph Template Language to create graphs with the full ODS Graphics functionality. Who Should Attend
SAS users who want to generate and enhance visualizations with programming syntax from ODS Graphics
Prerequisites
Before attending this course, you should have completed the SAS Programming 1: Essentials course or have equivalent programming experience.
SAS Products Covered
Base SAS
Course Outline
Getting Started
Setting up for this course. Data visualization with SAS programming overview. Layers of a graph.SGPLOT ProcedureIntroduction. Bar charts. Dot, line, scatter, and series plots. Additional basic plots. Distribution plots. Fit and confidence plots.Enhancing Visualization AppearanceStyle templates, colors, and fonts. Group attributes. Reference lines and text boxes. Axis appearance. Legend appearance. User-defined style templates. Additional statements and examples.Multi-cell ProceduresIntroduction. SGPANEL procedure. SGSCATTER procedure.Additional ProceduresSGPIE procedure. SGMAP procedure.Customizing VisualizationsIntroduction to SG annotation. Drawing space. LINE and ARROW functions. TEXT and TEXTCONT functions. SG attribute maps.More with ODS GraphicsODS GRAPHICS and destination statements. ODS layout. Statistical procedures.Graph Template LanguageIntroduction. Graph Template Language syntax. Dynamic and macro variables.