Re: [R] pie

From: Marc Schwartz <MSchwartz_at_mn.rr.com>
Date: Sat 21 Oct 2006 - 21:23:35 GMT

On Sat, 2006-10-21 at 22:46 +0200, Dietrich Tissen wrote:
> Hi,
>
> I would like to draw a pie chart. I've already tried out the standard
> pie-function in the GRAPH-package. My question: is there any 'better'
> function or package to draw a pie chart. For example I would like to
> draw a 3D pie chart.
>
> Dietrich Tissen

Take a look at the plotrix package on CRAN.

That being said, just say "NO" to 3D pie charts:

"When a graphic is taken over by decorative forms of computer debris, when the data measures and structures become Design Elements, when the overall design purveys Graphical Style rather than quantitative information, then the graphic may be called a duck in honor of the duck-form store..."

                                               — Edward Tufte


"The primary source of extraneous lines in charting graphics today are the 3-D options offered by conventional spreadsheet graphics. These 3-D options serve no useful purpose; they add only ink to the chart, and more often than not make it more difficult to estimate the values represented. Even worse are the spreadsheet options that allow one to rotate the perspective. For those who would take bad graphical display to even higher levels, the Excel spreadsheet program offers the option of doughnut, radar, cylinder, cone, bubble charts."

                                               — Gary Klass



Consider a ?dotchart or even ?barplot instead.

For more information:

http://lilt.ilstu.edu/gmklass/pos138/datadisplay/badchart.htm

http://lilt.ilstu.edu/gmklass/pos138/datadisplay/sections/goodcharts.htm

http://www.edwardtufte.com/tufte/books_vdqi

and the two books by Cleveland:

http://stat.bell-labs.com/wsc/index.html

HTH, Marc Schwartz



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun Oct 22 07:36:56 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 21 Oct 2006 - 23:30:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.