forked from bostocks clock: http://bl.ocks.org/mbostock/1096355