I have a data file. I want to plot a histogram from this data file with the number of occurrences on top of each bar. I could prove such a plot in Mathematica and the result is

But I couldn't provide such a plot in the latex. How can I do that? Here is my minimal code
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{filecontents}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{filecontents*}{data.csv}
0.999705, 0.102439, 2.22161, 4.48747, 1.21895, 6.4383, 1.89919, 0.131524, 0.255719,
0.678656, 1.207, 2.4247, 1.33127, 1.50532, 1.14534, 3.62333, 1.3151, 1.1334, 1.14764,
3.37807, 0.314127, 0.780982, .94461, 1.76052, 1.15505, 0.641343, 0.501159, 0.838922, 0.392404, 2.40693, 1.2087, 0.939336, 0.620025, 0.778478, 1.70643, 1.50092, 0.610803, 0.449405, 0.372005, 0.437747, 2.17335, 0.147226, 0.275256, 0.285204, .332344, 0.390268, 0.598056, 2.78572, 0.843533,0.869065,
1.40148, 0.713403, 0.560139, 0.64868, 0.860224, 1.15303, 1.45957, 1.1884, 1.15756, 0.151852, 0.655366, 1.04536, 0.815271, 1.18471, 1.47575, 1.5487, 3.5261, 2.02479, 1.86159,
2.20584, 2.10486, 2.75795, 1.41652, 0.685807, 4.80702, 1.69252, 1.08762, 0.541417, 0.552933, 0.60403, 0.661523, 1.93877, 4.95087, 0.667625, 0.643584, 0.721016, 0.746126, 0.577656, 3.09755, 2.66435, 0.56278, 0.799503, 0.783744, 0.576326, 0.669558, 0.977875, 1.54727, 1.80504, 1.08556, 0.674201, 0.808802, 3.41343, 1.82106, 1.32317, 0.960459, 2.83347, 1.746, 0.995808, 3.18927, 0.168725, 0.24383, 0.636872, 0.986101, 0.782347, 0.963776
\end{filecontents*}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
ybar,
width=\textwidth,
ylabel = {Number},
xlabel = {$ \Delta_{\text{ours}} $},
xtick={0,0.2,...,8},
ytick={0,1,...,50},
]
\addplot table [x,col sep=comma] {data.csv};
\end{axis}
\end{tikzpicture}


bar widthand colors to produce a precise match. – Mar 06 '20 at 17:44