Put the draw method on d3 selections