title: How do I convert strings from csv in d3.js and be able to use them as a dataset?
body: <p>Sorry if this seems obvious, I'm new to D3 and computer programming in general...
  I have a <code>CSV</code> file that has number values, but when they show up as strings in my console.</p>
  
  <p>I tried putting the <code>parseFloat</code> function in my code, but then the data shows up as <code>NaN</code> on my console for each entry.</p>
  
  <p>This is my code:</p>
  
  <pre><code>var dataset =d3.csv("file.csv", function(d){return{data: parseFloat(d)}; },
   function(data){    
   console.log(data);     
   });
  </code></pre>
  
  <p>My data looks like this in one column from my csv file: </p>
  
  <pre><code>9.96E-001
  9.95E-001
  9.95E-001
  9.95E-001
  9.96E-001
  9.95E-001
  9.96E-001
  9.94E-001
  9.96E-001
  9.95E-001
  9.94E-001
  9.96E-001
  1.00E+000
  </code></pre>
  
  <p>Obviously I do need to make them have integer values to then get them to work as a <code>dataset</code>, but I can't even get them to have number values instead of strings?</p>