Click here to see the SAS code.
Click here to see the example.

See step-by-step versions of graph

---------------------------------------------------------------

See my blog for more information about this graph!


Related to the following article...
http://www.sas.com/en_us/news/press-releases/2014/november/holiday-shopping-lists-growing-in-2014--sas-reveals.html

Created from the following data...
http://www.sas.com/content/dam/SAS/en_us/image/sas-com/news/Press Releases/holiday-shopping-styles-report.pdf

I use SAS/Graph Proc Gchart, but I get a little tricky by assigning
numeric variables to control the bar order & color stacking order,
and using user-defined-formats to to make them print as text rather
than the numeric sorting values.

Note that the bars (questions) are sorted by the middle of the 'neutral'
category.

I also use annotate to print the questions/statements to the right
of the graph.


Back to Samples Index