convert this to d3.select()

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

Also in JavaScript: