Tips and Tricks

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 2
Little things go a long way

In my previous post, I described a new options to control the widths of the caps for Whiskers, Error and Limit bars.  This topic could have been titled "Little things go a long way", as such details really make for a good graph. In a similar manner, another detail issue

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Spark table

In the previous post, I discussed creating a 2D grid of spark lines by Year and Claim Type.  This graph was presented in the SESUG conference held last week on SAS campus in the paper ""Methods for creating Sparklines using SAS" by Rick Andrews.  This grid of sparklines was actually the

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 4
Spark grid

The 25th annual SESUG conference was held at in the SAS campus this week.  I had the opportunity to meet and chat with many users and attend many excellent presentations.  I will write about those that stood out (graphically) in my view. One excellent presentation was on "Methods for creating

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 1
Long category values

The South East SAS Users Group meeting wound up yesterday.  The 25th anniversary conference was held on SAS Campus and it provided a great opportunity to meet with many enthusiastic SAS users and attend many informative presentations.  More on this in a follow-up article. During one of these presentations, Mary

Data Visualization | Programming Tips
Warren F. Kuhfeld 0
Advanced ODS Graphics: A deeper dive into documents, dynamics, and data objects

You can modify all of the components of the graphs that analytical procedures produce: the data object, graph template, and the dynamic variables. This post takes a closer look at dynamic variables (which you can see by using PROC DOCUMENT) and data objects and explores graphs that are constructed from more than one data object.

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 0
Legend order redux

Once in a while you run into a pesky situation that is hard to overcome without resorting to major surgery.  Such a situation occurs when you have a stacked bar chart with a discrete legend positioned vertically on the side of the graph.  A simple example is shown below. title

Data Visualization | Learn SAS | Programming Tips
Sanjay Matange 3
Legend items

Plot statements included in the graph definition can contribute to the legend(s).  This can happen automatically, or can be customized using the KEYLEGEND statement.  For plot statements that are classified by a group variable, all of the unique group values are displayed in the legend, along with their graphical representation

1 3 4 5 6 7 35