It seems to me that you are relying on a very complex example, which is designed to show other features of Rickshaw. It is your choice, but i'd rather prefer to see a simple example of the zooming feature with no other unrelated code.