D3 pie, better than canvas, pass json data to js