Limit selection to one axis

Is it possible to limit the selection tool to one axis as in this d3 example: http://bl.ocks.org/emeeks/8899a3e8c31d4c5e7cfd? Thanks.

Not at the moment, unfortunately.