aboutsummaryrefslogtreecommitdiff
path: root/doc/user/src/pie1.skb
blob: 0d0fd0b5b2893e269a95d9177e7a266316adbfd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;; A sad pie chart.
;;

(pie :title [Casualties in the Israel-Lebanon 2006 Conflict (source:
English Wikipedia page, 2006-07-23)]
     :total 450 ;; to show the uncertainty on figures
     :ident "pie-lebanon-2006"
     :labels 'outside :fingers? #t

  (slice :weight   8 :color "black" [Hezbollah militants])
  (slice :weight  42 :color "blue"  [soldiers])
  (slice :weight 317 :color "red" :detach? #t
	[civilians (,(sliceweight :percentage? #t)%)]))