title: Javascript parses integer as NaN?
body: <p>I'm parsing some data to display in a graph, yet I consistently get NaN when I parse my integers. I know that generally means that they're not parsed correctly, but I'm using <code>parseint</code> and I thought that would fix things. I'm parsing the Unixtime (first field) and then three other fields (correctly parsed). Yet, whenever I go to display the Unixtime it fails. I've declared scale.linear for x, though time.scale also fails.</p>
  
  <p>The code snippet I'm using is below:</p>
  
  <pre><code>d3.tsv("&lt;?php echo $field; ?&gt;values.tsv", function(error, data) {
    color.domain(d3.keys(data[0]).filter(function(key) { return key !== "Unixtime"; }));
    data.forEach(function(d) {
      d.Unixtime = parseInt(d.Unixtime/1000);
    });
    var cities = color.domain().map(function(name) {
      return {
        name: name,
        values: data.map(function(d) {
          return {Unixtime: d.Unixtime, value: parseFloat(d[name]/1000)};
        })
      };
    });
  </code></pre>
  
  <p>The error message I'm getting is below from the Chrome debugger.</p>
  
  <pre><code>Error: Problem parsing d="MNaN,1.7527908403982337CNaN,1.7527908403982337,NaN,1.7527908403982337,NaN,1.751122428294669CNaN
  </code></pre>
  
  <p>The data looks like:</p>
  
  <pre><code>1353168433      5557    6404    5510
  
  1353175632      5478    6404    5510
  
  1353182750      5432    6404    5510
  </code></pre>