             defs.append('marker').attr('id', 'circ').attr('markerWidth', 9).attr('markerHeight', 9).attr('refX', 4).attr('refY', 4).append('circle').attr('cx', 4).attr('cy', 4).attr 'r', 4
 
         # Add drop shadow filter
-        filter = defs.append("filter")
-            .attr("id","dropshadow")
-        filter.append("feGaussianBlur")
-            .attr("in","SourceAlpha")
-            .attr("stdDeviation",dropshadowblur)
-            .attr("result","blur")
-        filter.append("feOffset")
-            .attr("in","blur")
-            .attr("dx",dropshadowx)
-            .attr("dy",dropshadowy)
-            .attr("result","offsetBlur")
-        feMerge = filter.append("feMerge")
-        feMerge.append("feMergeNode")
-            .attr("in","offsetBlur")
-        feMerge.append("feMergeNode")
-            .attr("in","SourceGraphic")
+        filter = defs.append('filter')
+            .attr('id','dropshadow')
+        filter.append('feGaussianBlur')
+            .attr('in','SourceAlpha')
+            .attr('stdDeviation',dropshadowblur)
+            .attr('result','blur')
+        filter.append('feOffset')
+            .attr('in','blur')
+            .attr('dx',dropshadowx)
+            .attr('dy',dropshadowy)
+            .attr('result','offsetBlur')
+        feMerge = filter.append('feMerge')
+        feMerge.append('feMergeNode')
+            .attr('in','offsetBlur')
+        feMerge.append('feMergeNode')
+            .attr('in','SourceGraphic')
 
         # Create/select <g> elements to hold the different types of graphics
         # and keep them in the correct drawing order

        labels = labelGroup.selectAll('text').data(piedata.sort((p1, p2) ->
            p1.startAngle - p2.startAngle
        ))
        labels.enter().append('text').attr('text-anchor', 'middle').attr("filter","url(#dropshadow)")
        #labels.enter().append('text')
            #.attr('text-anchor', (d) ->
                #rads = ((d.endAngle - d.startAngle) / 2) + d.startAngle

        path.exit()
            .transition()
            .duration(300)
            .attrTween('d', (d,i) -> 
                `var i`
                s0 = 2 * Math.PI
                e0 = 2 * Math.PI
