Its a style thing with the D3 visualisation stuff. They make heavy use of object/funciton chaining and have adopted this style because of it, this particular example isn't very good, but further on you will see more examples where it helps the eye (all the attr/style stuff).