[Tex/LaTex] yticklabel in Thousands of pounds/dollars/euros pgfplots

pgfplotstikz-pgf

I'd like to display the yticklabel as Thousands \euro or \pounds, but doesn't quite looks right, what do you think?

        \documentclass{article}
    \usepackage{tikz} 
    \usepackage{pgfplots}
    \pgfplotsset{compat=newest}
    \usetikzlibrary{pgfplots.units}
    \usepgfplotslibrary{units}
    \begin{document}

 \begin{tikzpicture}
\begin{axis}[
title = {Optimalization based upon co-occurences},
xbar,
width=10cm,
change y base,
y SI prefix=kilo,y unit=Thousands,
xtick={1,...,5},
yticklabel={\pgfmathprintnumber{\tick}\pounds{}},
xticklabels={{Bloodstream infections (BSI)},{Surgical site infections (SSI)},{Ventilator-associated pneumonia (VAP)},{Urinary tract infections (UTI)},{Others}},
    grid=major,
 x tick label style={rotate=45,anchor=east},   ]

\addplot[fill=blue,draw=black,ybar,error bars/.cd,y dir=both,y explicit] 
coordinates
{
(1, 36441   )+-(    207256  ,   2883    )
(2, 25546   )+-(    134602  ,   1783    )
(3, 9969    )+-(    12034   ,   7904    )
(4, 1006    )+-(    1361    ,   650 )
(5, 1000    )+-(    5000    ,   800 )

};
\end{axis}
\end{tikzpicture}
    \end{document}

Would be nice if it looked like the graph below. Any suggestions? I see a siunitx library but no specific example around. Surely there is one…
enter image description here

Best Answer

enter image description here

it needs thousands adding somewhere...

\documentclass{article}
\usepackage{tikz} 
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{units}

\usepackage[space-before-unit,range-units = repeat]{siunitx}
\begin{document}

\begin{tikzpicture}
\begin{axis}[
title = {Optimalization based upon co-occurences},
xbar,
width=10cm,
xtick={1,...,5},
xticklabels={{Bloodstream infections (BSI)},{Surgical site infections (SSI)},{Ventilator-associated pneumonia (VAP)},{Urinary tract infections (UTI)},{Others}},
    grid=major,
 x tick label style={rotate=45,anchor=east}, 
yticklabel={\pgfmathparse{(int(\tick))}\pounds{}\pgfmathresult},
ytick scale label code/.code={},
scaled y ticks=base 10:-3,
  ]

\addplot[fill=blue,draw=black,ybar,error bars/.cd,y dir=both,y explicit] 
coordinates
{
(1, 36441   )+-(    207256  ,   2883    )
(2, 25546   )+-(    134602  ,   1783    )
(3, 9969    )+-(    12034   ,   7904    )
(4, 1006    )+-(    1361    ,   650 )
(5, 1000    )+-(    5000    ,   800 )

};
\end{axis}
\end{tikzpicture}
\end{document}