D3: Rect Transitions: Delay, Size, Color, Location

Forked script below was adapted from v3 to v4

D3.js Rect Transitions
  • Requires d3.v4.min.js library.
  • .attrs({}) is a v4 setter containing multiple attribute tuples, and requiring d3-selection-multi.v1.min.js plugin. Replacing v3's .attr({}).

Forked v4 script above. Original v3 script below.

D3.js 3.5.17 seems to have an existence similar to Python 2.7.13. Maintained to avoid alienating v3 users.