I cannot display labels of nodes using a force-layout in d3.js.
I\'m trying with this example http://d3js.org/d3.v3.min.js
I updated that code only adding zo
You need to separately add the text:
node.append("text") .attr("dx", ".10em") .attr("dy", ".10em") .text(function(d) { return d.name; });
see these examples:
http://bl.ocks.org/mbostock/2706022
http://bl.ocks.org/mbostock/1153292