0

I am trying to use d3.js pie chart, problem is if the percent is small for some section then the label get cut with section.

Link

var data = [{"label":"Category A", "value":5}, 
            {"label":"Category B", "value":50}, 
            {"label":"Category C", "value":30}];

"Category A" label does not fit in small section. How can I make label visible even if the section is small?

ozil
  • 6,930
  • 9
  • 33
  • 56
anam
  • 3,905
  • 16
  • 45
  • 85
  • Suggest you to add tool-tip instead of labels. [D3 : Data on mousehover](http://stackoverflow.com/questions/10805184/d3-show-data-on-mouseover-of-circle) – n8coder Nov 16 '15 at 12:48
  • How about labels with lines: http://bl.ocks.org/dbuezas/9306799? – Mark Nov 16 '15 at 13:59

0 Answers0