0

So I'm making a pie chart, and I am attempting to recreate this

However, I can barely position my text labels to not get obscured by the pie slices. Here is my jsFiddle

Setting the z-index for the text attribute in the above fiddle doesn't inhibit it from being obscured.

In addition, how can I assure that the labels are outside the pie chart? I tried setting an offset from the center on the labels, but then they are obscured by the edges of the svg.

Any input would be awesome.

Louis93
  • 3,843
  • 8
  • 48
  • 94
  • possible duplicate of [Updating SVG Element Z-Index With D3](http://stackoverflow.com/questions/13595175/updating-svg-element-z-index-with-d3) – Robert Longson Feb 28 '14 at 09:03
  • Have you seen [this question](http://stackoverflow.com/questions/8053424/label-outside-arc-pie-chart-d3-js)? – Lars Kotthoff Feb 28 '14 at 09:19
  • Or [this one](http://stackoverflow.com/q/21939977/3128209)? There are a number of others on the "related" sidebar that should get you started. – AmeliaBR Feb 28 '14 at 18:39

0 Answers0