title: R graphs: Creating Tufte's horizontal bar lines
body: <p>How can we replicate Tufte's implicit horizontal lines in R?</p>
  
  <p><img src="https://i.stack.imgur.com/fvGtZ.png" alt="Tufte bars"></p>
  
  <p>For example, the following is a good starting point:</p>
  
  <pre><code>library(ggplot2)    
  ggplot(msleep, aes(x=order)) + stat_bin() + theme_bw()
  </code></pre>
  
  <p>Removing the border line should be straightforward. The crucial point, overlaying the horizontal line with the bars, is unclear to me.</p>
  
  <p>I imagine two approaches here:</p>
  
  <ol>
  <li>Ad-hoc solution for this particular example</li>
  <li>Suggestion how to incorporate it into a theme</li>
  </ol>