\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.18}
\usetikzlibrary{patterns.meta}

\begin{document}

\begin{tikzpicture}
\pgfplotstableread{
  kraj    złoto srebro brąz
  Czechy  3     0      2
  Litwa   0     2      2
  Polska  1     4      5
  Ukraina 3     5      4
  Węgry   6     7      6
}\mydata

\begin{axis}[
  ybar,
  axis x line=box, 
  axis y line=none, 
  xtick pos=bottom,
  ymin=0,
  yticklabel=\empty,
  xtick=data,
  xticklabels from table={\mydata}{kraj},
  xticklabel style={font=\small},
  nodes near coords,
  bar width=8pt,
  legend entries={złote, srebrne, brązowe},
  legend pos=north west,
  legend columns=3,
  legend style={font=\scriptsize},
]
\addplot[draw=gray, pattern={Lines[angle=45,distance=2pt]}, 
  pattern color=gray] table[x expr=\coordindex, y=złoto] {\mydata};
\addplot[draw=gray, pattern={Hatch[angle=45,distance=2pt]}, 
  pattern color=gray] table[x expr=\coordindex, y=srebro] {\mydata};
\addplot[draw=gray, pattern={Lines[angle=-45,distance=2pt]}, 
  pattern color=gray] table[x expr=\coordindex, y=brąz] {\mydata};
\end{axis}
\end{tikzpicture}

\end{document}