sas visualisations keith cranford

43
How to Produce Excellent Graphs in SAS Keith Cranford, Office of the Attorney General of Texas, Austin, TX  Ab s tr ac t Presenting data through graphs is a powerful, efficient method to convey information. This is only effective, though, if it is done well. Edward Tufte states, “Graphical excellence consists of complex i deas communicated with clarity, precision, and efficiency.” The goal, then, of data graphics is to tell a story as clearly as possible. This paper presents a set of principles gleaned from Tufte as well as Stephen Few that encourages quality graphical design and provides examples from SAS that follow these principles. SAS/Graph and its many options are used. Introduction Edward Tufte states, “Graphical excellence consists of complex ideas communicated with clarity, precision, and efficiency.” Achieving this goal of graphical excellence takes for ethought and planning, along with an aw areness of what story you are trying to tell with the graph. Tufte presents five principles in the theory of data graphics which help direct graph design. While these high level principles should guide you in graph design, more practical guidance is needed in the details. Stephen Few has provided very practical advice in this area. He takes Tufte’s principles and applies them in practical situations. In particular, Few addresses the elements of graphical design by giving particular guidance in that helps direct the design of the whole graph. This approach provides the user with an easier way to follow Tufte’s more general principles. This paper presents Edward Tufte’s principles a nd supplements these with Stephen Few’s sage advice. First, the general principles are given along with a simple example. This is followed by a detailed discussion of the elements of graph design with numerous examples taken from Few's book, Show Me the Numbers. SAS/Graph is used throughout to produce all of the examples, and the code for these examples is i ncluded in an appendix.  Additionally, a short section is included on w hat not to use in data grap hics. General Principles Edward Tufte speaks of five principles in the theory of data graphics. These are  Above all else show the data  Maximize the data-ink ratio  Erase non-data-ink  Erase redundant data-ink  Revise and edit These principles help guide the development of any graph used to display data. By following these principles the story that is being told becomes clearer and easier to tell. Stephen Few restates the first principle as “Show me the numbers.” This implies that the overarching concern should be how to convey the message in the data.

Upload: mangeshwagle

Post on 12-Feb-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 1/43

Page 2: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 2/43

Page 3: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 3/43

Page 4: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 4/43

Page 5: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 5/43

Page 6: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 6/43

Page 7: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 7/43

Page 8: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 8/43

Page 9: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 9/43

Page 10: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 10/43

Page 11: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 11/43

Page 12: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 12/43

Page 13: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 13/43

Page 14: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 14/43

Page 15: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 15/43

Page 16: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 16/43

Page 17: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 17/43

Page 18: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 18/43

Page 19: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 19/43

Page 20: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 20/43

Page 21: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 21/43

Page 22: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 22/43

Page 23: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 23/43

Page 24: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 24/43

Page 25: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 25/43

Page 26: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 26/43

Page 27: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 27/43

Page 28: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 28/43

Page 29: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 29/43

Page 30: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 30/43

Page 31: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 31/43

Page 32: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 32/43

Page 33: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 33/43

Page 34: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 34/43

Page 35: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 35/43

Page 36: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 36/43

Page 37: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 37/43

Page 38: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 38/43

Page 39: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 39/43

Page 40: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 40/43

Page 41: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 41/43

Page 42: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 42/43

Page 43: SAS Visualisations Keith Cranford

7/23/2019 SAS Visualisations Keith Cranford

http://slidepdf.com/reader/full/sas-visualisations-keith-cranford 43/43