title: how to create labels for data in donut chart using d3.js
body: <p>I have a donut chart which updates data on click. I want to add labels to the same data. I am currently using the <em>d3.js</em> javascript library.
  <a href="http://jsfiddle.net/N5Znf/" rel="noreferrer">Here is my code on jsfiddle</a></p>
  
  <p>What I don't understand it how to add labels to segments of the donut chart?</p>