Un article de Wikipédia, l'encyclopédie libre.
[edit] Summary
Example of a pie chart, along with a bar plot showing the same data and indicating that the pie chart is not the best possible chart for this particular dataset.
The graphic was created by User:Schutz for Wikipedia on 27 December 2006, using the R statistical project. The program that generated the graphic is given below; the data and the idea are from w:Image:PieCompare.png by w:User:Chrispounds. The graph was exported in postscript format, converted to SVG using the pstoedit command, and the layout was slightly modified using Inkscape before upload.
a <- c(17, 18, 20, 22, 23)
cols <- c("red", "blue", "green", "yellow", "black")
postscript("piechart.eps", paper="special", width=8, height=4)
par(mfrow=c(1,2))
par(cex=1.2)
par(font=2)
defaultmar <- par("mar")
par(mar=c(0,0,0,0)) # Margins
par(las=1) # Axis labels always horizontal
par(font.axis=2)
pie(a, init=90, clockwise=T, col=cols)
par(mar=defaultmar-c(1.7,2,2.5,1))
barplot(rev(a), horiz=T, xlim=c(0,25), col=rev(cols), border=0, names.arg=5:1, space=0.8)
dev.off()
|
This chart was created with R. |
[edit] Licensing
Historique du fichier
Cliquer sur une date et une heure pour voir le fichier tel qu’il était à ce moment-là
| Date et heure | Dimensions | Utilisateur | Commentaire |
actuel | 1 janvier 2007 à 13:39 | 703×321 (13 Kio) | Schutz | |
| 27 décembre 2006 à 03:32 | 680×320 (15 Kio) | Schutz | |
| 27 décembre 2006 à 03:26 | 663×293 (15 Kio) | Schutz | |
| 27 décembre 2006 à 03:06 | 579×282 (14 Kio) | Schutz | |
| 27 décembre 2006 à 02:53 | 670×300 (15 Kio) | Schutz | |
Pages contenant l’image
La page ci-dessous contient cette image :