[Tex/LaTex] Package for pie charts

tikz-pgf

I want to create a pie chart in LaTeX. Do you know a package which manages that?
I tried datatool which uses tikz as backend but seems to be unusable due to mysterious floating point errors.

Best Answer

Use the package pgf-pie, which is now available on CTAN. Usage:

\begin{tikzpicture}
    \pie{10/A, 20/B, 30/C, 40/D}
\end{tikzpicture}

Note however that there are conflicts with this package and any other package that introduces the command \text—e.g.: amstext. In order to mediate these effects edit pgf-pie.sty, replacing all occurrences of: \text with: \textASDF.

Use package like:

\usepackage{pgf-pie}  
Related Question