title: Histogram with multiple bins and groups
body: <p>I am trying to reproduce these three simple histograms created in excel in R, in order to have something slightly more appealing to the eye. I have no doubt this is simple, but am out of practice with R.</p>
  
  <p><a href="https://i.stack.imgur.com/gXmCi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gXmCi.png" alt="&gt; [![data][1]][1]"></a></p>
  
  <p>[<img src="https://i.stack.imgur.com/VWuXz.png" alt="histogram[1]"></p>
  
  <p>I have found different tutorials for producing basic histograms, but have yet to find something that will produce three columns (representing years) for each of the distance bins, and then three separate graphs for each of the data groups (A, B, C).<br>
  I believe the first thing I need to do is restructure my data, and I guess this is the step I am unsure about.</p>
  
  <p>Thanks in advance. </p>