debugging; testing kd3.js with pie function