title: d3 ticks only shows Sundays:
body: <p>I would like for my scale to start on the first day and end on the last day rather than just show Sundays:</p>
  
  <p>I would like for the data to start at :  28 (not 3)  but it starts on a 3 which is Sunday:</p>
  
  <p>How can i start my scale on any day of the week?</p>
  
  <p>I want the days shown to match the data I give the graph not show Sundays.</p>
  
  <p>Link to example: <a href="http://jsfiddle.net/3LZua/2/">http://jsfiddle.net/3LZua/2/</a></p>
  
  <p>Thanks in advance.</p>
  
  <p>P.S. Here is the code:  (there would be a  in the html)</p>
  
  <pre><code>followerLineGraph = function(data)
  {    
      var width = 400;
  
      var x = d3.time.scale()
          .domain([data[0].date, data[data.length - 1].date])
          .range([0, width]);
  
      var chart = d3.select("#test").append("svg").attr("class", "chart");
  
      //Date Label
      var xAxis = d3.svg.axis()
          .scale(x)
          .ticks(data.length)
          .tickFormat(d3.time.format('%m/%d-%a'))
          .tickSize(0)
          .tickPadding(8);
  
      chart.append('g')
          .attr('fill', '#1ff')
          .call(xAxis);
  }
  
      var data = [
        { date: new Date(2013, 1, 28), TotalLikes: 18 },
        { date: new Date(2013, 2, 14), TotalLikes: 15 },
        { date: new Date(2013, 2, 21), TotalLikes: 17 },
        { date: new Date(2013, 2, 28), TotalLikes: 17 },
        { date: new Date(2013, 3, 4), TotalLikes: 20 }
  ];
  
  followerLineGraph(data);
  </code></pre>