Tag: visualization

SAS and D3.js (1): a macro to draw scatter plot

HTML is the default output format for SAS since 9.3. Implementing the popular JavaScipt frameworks such as jQuery and D3.js will allow some dynamic effects to the final HTML results. In those cases the HTML file is static, and thus no HTTP server is…

Use D3.js to draw pie chart instead of PROC GCHART

Is the pie really round?

Commonly the PIE statement in the PROC GCHART produces the pie charts. Given the shortcoming of the pixel based Gxxxxxx procedures, the boundary of the pie is not very clear. I always feel that the resulting pie is not&nbsp…

100% stacked bar chart in SAS’s SGPLOT

A 100% stacked bar chart is useful for comparing the relative frequencies of an m x n table where frequencies in m are very different. While this is easy to do in Excel, SAS requires an extra step, which you … Continue reading →

Too many pies can be hard to digest

On his SAS and R blog, Ken K. recently posted an example of a visualization technique called “small multiples”. In this exercise, Ken shows the programming technique for replicating a particular series of pie charts in R as well as in SAS. It’s a useful exercise to learn from, but […]

Pivot tables and Cheezy Graphs? No more…

As any good analyst knows, working with data is not the problem. Good analysts have the skill necessary to combine, split, merge, slice, aggregate, or summarize data any way you can imagine. However, is that enough? Probably not.. What good does data do if you can’t communicate its meaning in a logical way. The day […]

Santa and SAS Again: Santa’s Dashboard

(santaDashBoard.png, With permission by Mr. Robert Allison)
Merry Christmas again. SAS marketing staff started up an interesting Christmas campaign on how Santa operates his workshop. Here is another wonderful work about Santa’s Dashboard, created by SAS senior R&D staff, Robert Allison.
Robert is a master of graphics and visualization. You can view his SAS/Graph examples in the […]