Author

Sanjay Matange
RSS
Director, R&D

Sanjay Matange is R&D Director in the Data Visualization Division responsible for the development and support of the ODS Graphics system, including the Graph Template Language (GTL), Statistical Graphics (SG) procedures, ODS Graphics Designer and related software. Sanjay has co-authored a book on SG Procedures with SAS/PRESS.

Data Visualization
Sanjay Matange 2
Image backgrounds

As many of the regular readers of this blog know, SGPLOT and GTL, provide extensive tools to build complex graphs by layering plot statements together.  These plots work with axes, legends and attribute maps to create graphs that can scale easily to different data. There are, however, many instances where

Data Visualization
Sanjay Matange 8
Stem and Leaf plot

A Stem and Leaf plot is a visual that can help quickly visualize the distribution of the data.  This graph was particularly useful before the advent of modern statistical graphs including the Histogram and Box Plot.  One nice feature of the plot is it shows the actual values in the

Data Visualization
Sanjay Matange 5
Scatter with mean value

A frequently requested statistical graph is the scatter plot by with discrete categories along with mean value for each category.  Searching for a "Scatter with Mean" will return a lot of requests for such a graph in SAS, Stata, R and other statistical software. Such a graph is very easy

Data Visualization
Sanjay Matange 4
Category highlighting

When presenting information in form of a graph we show the data and let the reader draw the inferences.  However, often one may want to draw the attention of the reader towards some aspect of the graph or data.  For one such case, a user asked how to highlight one

Data Visualization
Sanjay Matange 6
Should we move to Ireland?

Recently, while browsing health care data, I came across the graph shown below.  The graph includes the healthy life expectancy at birth by countries in the EU, along with the associated per capita expenditure.  The graph also shows estimate of potential gain in life expectancy by increasing expenditure efficiency. The

Data Visualization
Sanjay Matange 4
Diagonal tick values

Fitting of long category values on a x-axis is usually a challenge.  With SAS 9.4, the SGPLOT procedure tries to fit the values by first splitting the values at white space to see if the values will fit in the space available.  This normally works well for a small number

Data Visualization
Sanjay Matange 4
Box plot legend

A grouped box plot created by SGPLOT VBOX / HBOX statement or GTL BOXPLOT statement will display groups within categories using group colors and puts the color swatches representing the group values in the legend.  This works well for a color graph created as shown below. title 'Distribution of Cholesterol

1 3 4 5 6 7 30