title: D3.js, force-graph, cannot display text/label of nodes
body: <p>I cannot display labels of nodes using a force-layout in d3.js.</p>
  
  <p>I'm trying with this example <a href="http://d3js.org/d3.v3.min.js" rel="noreferrer">http://d3js.org/d3.v3.min.js</a></p>
  
  <p>I updated that code only adding zoom, like this:</p>
  
  <pre><code>var svg = d3.select("body").append("svg").attr("width", width).attr("height", height).append('svg:g').call(d3.behavior.zoom().on("zoom", redraw));
  
  function redraw() {
      console.log("here", d3.event.translate, d3.event.scale);
      svg.attr("transform", "translate(" + d3.event.translate + ")" + " scale(" + d3.event.scale + ")");
      node.attr("transform", function(d) {
          return "translate(" + d.x + "," + d.y + ")";
      });
  }
  </code></pre>
  
  <p>Why are labels not displayed? </p>