         arcs.append("svg:path").attr("fill", (d, i) -> color i)
           .attr("fill-opacity", 0.4).attr("d", arc)
 
-  renderX5: (data) ->
+  render: (data) ->
         #console.log("update pie", data);
 
         if !data

                return "M" + (d.r-2) + "," + d.b + "L" + (d.l+2) + "," + d.b + " " + d.cx + "," + d.cy
            
        )
  render: (data) ->
        #console.log("update pie", data);

        if !data

            #.data(data)
            .data([data])

        path.enter().append("path")
            .attr("class", "pie")
            .attr("fill", "#ffffff")#(d, i) -> return color i)
        #pathGroup.attr("d", arc)
        path.transition()
            .duration(1500)
