Upgrading d3 from v3 to v4
July 31, 2016
We recently upgraded to d3js v4.1.0. Here is what we did to fix the breaking changes:
After the upgrade our data visualizations stopped being generated, and on a closer look we were getting this js error in Chrome:
It turns out d3js v4.1.0 is a major rewrite with several breaking changes, so be prepared to spend half a day looking at it. Fortunately the d3.js documentation is very comprehensive, including the documented changes which is a must read.
...
Read more