How to download and try this example
Usage: pl -gif pie2.htm
// specify data using proc getdata #proc getdata data: Brazil 22 Columbia 17 "Costa Rica" 22 Guatemala 19 Honduras 12 // render the pie graph using proc pie #proc pie datafield: 2 labelfield: 1 labelmode: legend outlinedetails: none center: 2 2 radius: 0.6 // colors: dullyellow drabgreen pink powderblue lavender colors: auto labelfarout: 1.3 // render the legend using entries made above, using proc legend #proc legend location: 3 2.6