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: Uncaught TypeError: Cannot read property 'format' of undefined 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. ... Read more

© 2018 Keith P | Follow on Twitter | Git