title: convert date format from dd/mm/yyyy to yyyy/mm/dd in d3.js
body: <p>I would like to convert the date data in the csv file from mm/dd/yyyy to yyyy/mm/dd using d3.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>var parseDate = d3.time.format("%Y-%m-%d").parse;
      d3.csv("data.csv", function(data, error) {
  
            dataset = data;
            //alert(dataset.length);
          //alert(error);
  
  
            for(var x=0;x&lt;dataset.length;x++)
          {
  
  
                  ....
  
                  date = parseDate(dataset[x].date);
                  compid = dataset[x].compid
      }
  })
  </code></pre>
  
  <p>My csv file data:
  compid,name,builds,checkins,date</p>
  
  <pre><code>1,trf_errorcheckdocs,0,0,1/1/2013
  1,trf_errorcheckdocs,0,0,2/1/2013
  1,trf_errorcheckdocs,0,0,3/1/2013
  </code></pre>