Lazy loading of D3 library