Answer the question
In order to leave comments, you need to log in
How to set the transition from one value to another in d3.js?
I have a schedule . I need to animate it so that when the page loads, the blue and blue parts of the graph would appear alternately (for example, first the blue one appeared and took the length it needed, and then the blue one the same way). As far as I understand, the d3 spec needs to be set to animation after the elements have already been drawn. That is, on line 49 I have
g.transition();
//условия анимации
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question