myTransition.call( func, [ arg1 ], [ arg2 ], [ … ] ) in D3.js

Invoke a function, passing the transition and returning it.

Arguments

nametypedescription
func Function Invoked and passed the transition (and any additional arguments); the this context is also set to the transition.
arg1 Object [optional] First argument to pass to the function.
arg2 Object [optional] Second argument to pass to the function.
Object [optional] etc.
Return Type
Transition

Description

For more details see https://github.com/mbostock/d3/wiki/Transitions#wiki-call.

See Also