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
Before attending this course, you should have completed the SAS® Programming 1: Essentials course or have equivalent programming experience.
This course addresses Base SAS software.
- Setting up for this course.
- Data visualization with SAS programming overview.
- Layers of a graph.
Enhancing Visualization Appearance
- Bar charts.
- Dot, line, scatter, and series plots.
- Additional basic plots.
- Distribution plots.
- Fit and confidence plots.
- Style templates, colors, and fonts.
- Group attributes.
- Reference lines and text boxes.
- Axis appearance.
- Legend appearance.
- User-defined style templates.
- Additional statements and examples.
- SGPANEL procedure.
- SGSCATTER procedure.
- SGPIE procedure.
- SGMAP procedure.
More with ODS Graphics
- Introduction to SG annotation.
- Drawing space.
- LINE and ARROW functions.
- TEXT and TEXTCONT functions.
- SG attribute maps.
Graph Template Language
- ODS GRAPHICS and destination statements.
- ODS layout.
- Statistical procedures.
- Graph Template Language syntax.
- Dynamic and macro variables.