\begin{tikzpicture}
 \pie[before number={\$}, after number=,]{10/A, 20/B, 30/C, 40/D}
\end{tikzpicture}