title: Populate Dropdown list with CSV file - d3
body: <p>I want to populate simple drop down list in html , 
  with values that exist in csv file.
  I try something like that , but it doesn't work.</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;/body&gt;
  &lt;script src="http://d3js.org/d3.v3.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  d3.csv("valuesforDD.csv", function(error, data) {
  
   var select = d3.select("body")
          .append("div")
          .append("select")
  
  
        select.selectAll("option")
          .data(data)
          .enter().append("option")
          .attr("value", function (d) { return d; })
          .text(function (d) { return d; });
  
          }
  
  &lt;/script&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>What should I change?</p>
  
  <p>thank you</p>