title: D3 chart from csv http url
body: <p>I am trying to get a column chart using d3.js. The data source is in csv format from url:<code>https://api.thingspeak.com/channels/***/feed.csv?key=***&amp;start=2015-11-24%2010:00:00&amp;end=2015-11-24%2014:00:00</code>so the code is:</p>
  
  <pre><code> // Parse the date / time
          var parseDate = d3.time.format("%Y-%m-%d %H:%M:%S UTC").parse;
  
  
   d3.csv("https://api.thingspeak.com/channels/***/feed.csv?key=***&amp;start=2015-11-24%2010:00:00&amp;end=2015-11-24%2014:00:00", function (error, data) {
          data.forEach(function (d) {
              d.date = parseDate(d.created_at);
              d.value = +d.field1;
          });
  
          x.domain(data.map(function (d) { return d.date; }));
          y.domain([0, d3.max(data, function (d) { return d.value; })]);
  </code></pre>
  
  <p>The csv http url format data is :</p>
  
  <pre><code>created_at,entry_id,field1,field2
  2015-11-24 10:09:38 UTC,1032,6,6
  2015-11-24 10:39:37 UTC,1033,4,10
  </code></pre>
  
  <p>This is the error i get:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot read property 'getFullYear' of null
    from d3.v3.min.js:1,</p>
  </blockquote>
  
  <p>I have tested with a local csv file with the same data and it works.</p>
  
  <p>I have also enabled CORS and it still not work.</p>
  
  <p>What can be the problem?.
  Thank you very much.</p>