d3 js integration cancel