I have a problem with my pie chart, as the labels are not showing on the left side. Does anyone know the issue?
http://codepen.io/user1010/pen/BQPvLL
Maybe the problem is in here:
var text=svg.selectAll('.legend')
.data(pie(dataset))
.enter()
.append("text")
.attr('class','legend')
.attr("transform", function(d) { return "translate(" + labelArc.centroid(d) + ")"; })
.attr("dy", "20px")