Converta isso em d3.select ()

d3.select($("#selection").get(0));
d3.select($("#selection")[0]); // equivalent to above but faster
Sore Snake