View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<script src="http://mbostock.github.com/d3/d3.v2.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<body style="margin:0">
<p>This examples shows bug in ticks positioning if using step method for animation.</br>
Click timeline to animate. On animation end ticks are incorrectly positioned.</p>
<div id="timeline"></div>
<script>
var w = $('#timeline').width(),