Not a complete answer but a start! See here for a related question.
\documentclass{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ylabel=# of Errors,
xlabel= Error Type,
enlargelimits=0.15,
ybar,
ymin = 0,
ymax = 100,
xtick=data,
nodes near coords,
symbolic x coords={3,1,5,4,6,2},
]
\addplot
coordinates {(3,50) (1,30) (5,10) (4,5) (6,3) (2,2)};
\end{axis}
\end{tikzpicture}
\end{document}

Update
\documentclass{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ylabel=# of Errors,
xlabel= Error Type,
%enlargelimits=0.15,
%ybar,
ymin = 0,
ymax = 100,
xtick=data,
%nodes near coords,
symbolic x coords={3,1,5,4,6,2},
]
\addplot[ybar, nodes near coords]
coordinates {(3,50) (1,30) (5,10) (4,5) (6,3) (2,2)};
%
\addplot[draw, mark=*]
coordinates {(3,50) (1,80) (5,90) (4,95) (6,98) (2,100)};
\end{axis}
\end{tikzpicture}
\end{document}

Remark: I would recommend using a diagram with two y-axes (see also the pgfplots manual Chapter "4.9.11 Two Ordinates (y-axis) or Multiple Axes"), one for the # of errors and one of the percentage. In your example, you conveniently choose the total # of errors to be 100 (%).
pgfplotspackage: https://ctan.org/pkg/pgfplots & https://pgfplots.net/ -- I hope you manage to solve the issue! – yo' May 29 '21 at 19:06Phavemean? – Dr. Manuel Kuehner May 29 '21 at 20:05