Updates d3 library and adds it to the window object