Added a d3 plane feature and visible rectangle for selections

Fixes #234.