name, func, [ priority ] ) in D3.js

Transition a CSS style to a new value based on data.


name String Name of the CSS property to transition.
func Function Invoked for each element in the transition selection, passed the current datum and index, with the this context as the current DOM element. The function’s return value is used to set the element’s CSS property value at the end of the transition. A null value will not remove the specified style.
priority String [optional] Either null or the string "important".
Return Type


For more details see

See Also