I'm trying to create a histogram from a CSV file of single values like this:
2,
3,
2,
5,
2,
etc...
I also have a copy of this file in a similar layout that has just single numbers next to their count value if needed. I've looked around and have been unable to get the plot correct with the following code:
\begin{tikzpicture}
\begin{axis}
\addplot[ybar col sep=comma]{code/burst.csv}
\end{axis}
\end{tikzpicture}
I need a histogram that shows how many occurrences of each number there is in the file. Most examples I've found looking around have been more complex than so I haven't been able to pick out the syntax I need and I found the pgfplots manual to be a bit too esoteric as I'm not very well versed on the maths side of things.
\documentclassand ends with\end{document}. – Mar 06 '19 at 19:54