See the examples directory:
https://github.com/mbostock/d3/blob/master/examples/drag/drag.html
That example uses `Object` as the origin function, which is just
another way of using the identify function. In other words, the data
bound to the draggable element is an object with `x` and `y`
properties, so using the identity function as the origin lets the drag
behavior read the origin of the circle when you start dragging.
Mike