I am totally stuck with a problem. Is there any appropriate package for pie charts? I am using datatool right now. But there are a lot of problems: E.g. the labels are overlapping.

Do you have any idea?

That is my datatable:

Serotyp, Anzahl












\geometry{a4paper,left=28mm,right=28mm, top=25mm, bottom=25mm} 




%my data file



%colour of the segments


    outerlabel={\name\ (\DTLpievariable)},
%name of the column
\DTLdocurrentpiesegmentcolor\rule{10pt}{10pt} &


1 Answer 1


I would recommend the package tikz for this. In this answer, you may have a look on how this could be done.

Till Tantau is giving some interesting hints on pie-charts on page 95 of his TikZ/PGF-Manual (PDF, 8.8 MB). For sure, the source code of his "bad" pie-chart is available somewhere.

One TikZ-solution which focusses on your overlapping-labels-problem can be seen on TeXample.net.

The package pgfplots which is getting kind of standard for data visualization in the last time does not provide pie charts.

The package pstricks is able to draw anything for you as well. In this answer, some example is shown.

One more package (but as you tagged your post with this, you will already know it) is the package pgf-pie. It's documentation can be found here.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .