             else
                 s0 = 0
                 e0 = 0
+            `var i`
             i = d3.interpolate({
                 startAngle: s0
                 endAngle: e0

        path.enter().append('path').attr('class', 'pie').attr('fill', (d, i) -> color i)

        path.transition().duration(750).attrTween('d', (d,i) ->
            #`var i`
            theOldDataInPie = @oldPieData ? piedata
            console.log('@oldPieData',@oldPieData)
            # Interpolate the arcs in data space

    @accessor 'data'

    ready: ->
        @oldPieData = ''

    onData: (data) ->

        #$(@node).fadeOut().fadeIn()
        @container = $(@node).parent()
