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