in reply to pie chart generation

I'd use ploticus. Here are some samples including a pie chart. It runs on various Unix, Linux, and win32 systems.

Released under the GNU General Public License.

--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]