title: How to set x-axis values in d3 Javascript graph?
body: <p>I'm using the d3 JS library to plot some graphs. It works fine, but I'm stuck on a weird problem which I've been struggling with for an hour - I can't set the x-axis values. Here is the graph (I added an alert that will show you the data format):</p>
  
  <p><a href="http://jovansfreelance.com/bikestats/d3/tipsy.php" rel="nofollow">http://jovansfreelance.com/bikestats/d3/tipsy.php</a></p>
  
  <p>I want the x-axis to show years, but for some reason that I can't see anywhere in the code, it's using decimal values instead, so instead of 2006 it has .006 - I have no idea where this is coming form, like it takes out the first digit and divides the rest by 100?!</p>
  
  <p>If someone can point me to the lines of code that are doing this, that would be fine, I can take it from there.</p>