title: d3.js t.map is not a function
body: <p>Hope somebody can help me out because I can't find any reference about this error.</p>
  
  <p>I was working on this piece of code:</p>
  
  <pre><code>var xMin = d3.min(data, function(d) { return d.value; });
  var xMax = d3.max(data, function(d) { return d.value; });
  
  if (0 &gt; xMin &amp; 0 &gt; xMax) {
    xMax = 0;
  }
  
  if (0 &lt; xMin &amp; 0 &lt; xMax) { 
    xMin = 0;
  }
  
  x.domain(xMin, xMax).nice();
  y.domain(data.map(function(d) { return d.label; }));
  </code></pre>
  
  <p>but I must have made some mistake cause now the loading blocks with the error message below in the web console: </p>
  
  <blockquote>
    <p>"TypeError: t.map is not a function @ <a href="http://d3js.org/d3.v3.min.js:2" rel="nofollow">http://d3js.org/d3.v3.min.js:2</a></p>
  </blockquote>