Below is my code:
\documentclass[11pt,oneside,openany]{book}
\usepackage[a4paper, left=1.5cm, right=1.5cm, top=3cm, bottom=3cm]{geometry}
\usepackage{pgfplots}
\usepackage{tikz}
\usetikzlibrary{matrix,positioning}
\tikzset{bullet/.style={circle,fill,inner sep=2pt}}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ymin=0, ymax=10,
minor y tick num = 3,
area style,
]
\addplot+[ybar interval,mark=no] plot coordinates { (0, 9.52) (18 868.3692, 9.72) (45 000, 0) };
\end{axis}
\end{tikzpicture}
\end{document}
I wish my diagram to be like the one below (handwritten)
Current result:

