\listfiles

\documentclass{article}
\usepackage{datapie}
\usepackage{filecontents}

\begin{filecontents*}{\jobname.csv}
Name,Quantity
"A",36
"B",14
"C",16
"D",26
"E",4
"F",4
\end{filecontents*}

\begin{document}
\DTLloaddb{fruit}{\jobname.csv}
%
\setlength{\DTLpieoutlinewidth}{2pt}%
%
\DTLpiechart{variable=\quantity,%
}{%
  fruit%
}{%
  \name=Name,%
  \quantity=Quantity%
}
\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
