         
         path = pathGroup.selectAll("path.pie")
             #.data(data)
-            .data([data])
+            .data(piedata)
 
         path.enter().append("path")
             .attr("class", "pie")



        pointers = pointerGroup.selectAll("path.pointer")
            .data([data])
        pointers.enter()
            .append("path")
            .attr("class", "pointer")

        arcs.append("svg:path").attr("fill", (d, i) -> color i)
          .attr("fill-opacity", 0.4).attr("d", arc)

  render: (data) ->
        #console.log("update pie", data);

        if !data
          data = @get("value")
        if !data
          return

        piedata = [data]

        $(@node).children(".title").text($(@node).attr("data-title"))
        $(@node).children(".more-info").text($(@node).attr("data-moreinfo"))
