Do some d3 when some time has elapsed