title: d3.js, log scale : add more ticks
body: <p>Here is my scale :</p>
  
  <pre><code>var y = d3.scale.log()
      .domain( [ 13, 21 ] )
      .range( [ 300, 0 ] );
  </code></pre>
  
  <p>And my axis :</p>
  
  <pre><code>var yaxis = d3.svg.axis()
      .scale( y )
      .orient( 'right' )
      .tickSize( -width )
      .tickFormat( function ( v ) {
          if ( v &gt; 999 ) return numeral( v ).format( '0.0a' );
          else return v;
      } )
      .ticks( 10 );
  </code></pre>
  
  <p>I hoped I could have a few ticks, but I only get one tick (21).</p>
  
  <p>When I add <code>nice()</code> to the scale definition, I have the ticks I want; but my scale starts to 10 and goes to 100 ; and that is not good at all.</p>
  
  <p>Any idea ?</p>