答案1
这是为了给你一个开始。
\documentclass[tikz,border=3.14mm]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16,width=18cm,height=7cm}
\begin{document}
\begin{tikzpicture}[font=\sffamily]
\begin{axis}[ybar,bar width=2.7mm,ylabel={Number of policies},yticklabel=$\mathsf{\pgfmathprintnumber{\tick}}$,
xticklabel=$\mathsf{\pgfmathprintnumber{\tick}}$,xlabel={Score based on \dots}]
\addplot[samples=50,domain=0:100,fill=yellow!20] {25*x*x*x*exp(-x/10)*(0.9+0.2*rnd)};
\end{axis}
\begin{axis}[axis y line=right,ylabel={Actual loss ratio},xtick=\empty,ymax=200,ymin=0,
yticklabel=$\mathsf{\pgfmathprintnumber{\tick}}\,\%$]
\addplot[samples=50,domain=0:100] {180-1.6*x+20*(rnd-0.5)};
\end{axis}
\end{tikzpicture}
\end{document}