Clarified the code where it contains d3js specific concepts AND made links transition smoothly