Merge d3js usage