0 votes
in Technology by (1.7m points)

Explain what is a transition in d3.js?

1 Answer

0 votes
by (1.7m points)

Transition in d3.js gradually interpolate attributes and styles over time, transition is used for animation purpose.  It is based on only two key frames, start, and end.  The starting key frame defines the current state of the DOM, while the ending key frame is a set of styles, attributes and other properties you specified.