d3.js integration and example using controller response as json