I have plotted a pgfplot bar graph using data from a csv file. The data has numbers in the hundreds of millions and the graph y axis is automatically scaled and shows the scale in scientific notation. Is it possible to change this notation to text? As in show (millions) instead of (10^8)?
\begin{figure}[h]
\centering
\pgfplotstableread[col sep=comma,]{data/test.csv}\datatable
\begin{tikzpicture}
\color{darkgrey}
\begin{axis}[
ybar,
bar width=.3cm,
width=\textwidth,
height=5cm,
ymin=0,
xtick=data,
xticklabels from table={\datatable}{Month},
x tick label style={font=\normalsize, rotate=45, anchor=east},
ylabel={Sales}]
\addplot [fill=red] table [x expr=\coordindex, y={NumSales}]{\datatable};
\end{axis}
\end{tikzpicture}
\caption{Total number of sales per month}
\label{fig:total_sales}
\end{figure}