title: Remove end-ticks from D3.js axis
body: <p>I'm using (the excellent) D3.js to generate some plots, and I can't find a way to remove the end ticks from the x and y axis.</p>
  <p>Take the y-axis for example.</p>
  <p>When the end tick value coincides with a label, I'm ok with having it.</p>
  <p>But when the last round label is below the end of the plot, I get two ticks, one for the last rounded label and one above it at the end of the y-axis.</p>
  <p>I don't want this end-tick visible, because I find the fact that it appears in less than the regular interval between labels distracting.</p>
  <p>See here for an example of what I'm describing, the ticks at <code>0</code> and <code>15</code> are the end ticks:</p>
  <pre><code>15 ─┐ 
      | 
  10 _| 
      |
  5  _|
      |
  0  ─┤──────
  </code></pre>
  <p>Any tips?</p>
  <p>P.S As a response suggested, I could set the ticks explicitly. But I like the convenience of the implicit generated ticks, just don't want unlabelled ticks to pollute the axis. So an ideal solution (if exists) would also take than into account.</p>