title: Cannot import data from csv file in d3
body: <p>I'm just learning d3, and I'm attempting to import data from a CSV file, but I keep getting the error "XMLHttpRequest cannot load file:///Users/Laura/Desktop/SampleECG.csv. Cross origin requests are only supported for HTTP. ".  I've searched for how to fix this error and have ran it on a local web server, but I haven't found a solution that works for d3.v2.js.  Here's a sample of the code:</p>
  
  <pre><code>var Time = []
      ECG1 = []
  
  d3.csv("/Desktop/d3Project/Sample.csv", function(data) 
        {
        Time = data.map(function(d) {return [+d["Time"]];});
        ECG1 = data.map(function(d) {return [+d["ECG1"]];});
        console.log(Time)
        console.log(ECG1)
        });
  </code></pre>
  
  <p>Any help will be much appreciated.</p>