title: Adding text to the center of a D3 Donut Graph
body: <p><a href="http://jsfiddle.net/fhx4gkhg/">Fiddle</a></p>
  
  <p>I am trying to insert basically a label to the center of a donut graph using D3. I was able to work with an existing code I found and manipulate it so all the slices of the graph mesh in the middle to appear like there is a label there, but I think it'd be a better idea just to figure out how to make it a more permanent home in the center. I am very new to JS and D3. </p>
  
  <p>Any help is grealty appreciated.</p>
  
  <p>Thank you</p>
  
  <p>This is currently the code that is falsifying a label being in the center.</p>
  
  <pre><code>svg.selectAll("text").data(pie(data)).enter()
  .append("text")
  .attr("class","label1")
  .attr("transform", function(d) {
     var dist=radius-120;
     var winkel=(d.startAngle+d.endAngle)/2;
     var x=dist*Math.sin(winkel)-4;
     var y=-dist*Math.cos(winkel)-4;
  
     return "translate(" + x + "," + y + ")";
  })
  </code></pre>