Upgrading d3
Charts were disappearing on resize.