\documentclass{jarticle}
\usepackage{datapie,databar,graphicx}

\begin{document}

\DTLloaddb{fruit}{fruit.csv}

\begin{figure}[htbp]
\centering
\scalebox{.5}{\DTLbarchart{variable=\theQuantity}{fruit}{\theQuantity=Quantity}}
\caption{A Basic Bar Chart}
\end{figure}

\begin{figure}[htbp]
\setlength{\DTLbaroutlinewidth}{1pt}
\centering
\scalebox{.5}{\DTLbarchart{variable=\theQuantity,barlabel=\theName,%
upperbarlabel=\theQuantity}{fruit}{%
\theQuantity=Quantity,\theName=Name}}
\caption{A Basic Bar Chart}
\end{figure}

\end{document}
