You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
It's not as easy as for histogram.ado. The programs for producing pie charts are written using ado classes (see the class section in the Stata Programming Reference Manual PDF) so if you look in the Stata adopath BASE directory in the p subdirectory you will see several .class files that you can read with viewsource, e.g.
Comment