title: D3 - Axis with dates
body: <p>I have a plunker here - <a href="https://plnkr.co/edit/FOsIWASEDLHhypatomrt?p=preview" rel="nofollow noreferrer">https://plnkr.co/edit/FOsIWASEDLHhypatomrt?p=preview</a></p>
  
  <p>Its very basic, I'm just trying to create the axis</p>
  
  <p>The data will be in the format thats in the plunker</p>
  
  <p>I'd the y axis to be from 0 to the highest figure in the data.</p>
  
  <p>The x axis should be the dates.</p>
  
  <pre><code>chart.append('g')
    .classed('x axis', true)
    .attr("transform", "translate(0," + height + ")")
    .call(d3.axisBottom(x)
      .tickFormat(d3.timeFormat("%Y-%m-%d")))
  
  chart.append('g')
    .classed('y axis', true)
    .call(d3.axisLeft(y)
      .ticks(10));  
  </code></pre>
  
  <p>I cant get either axis to work - can anyone help</p>