moved D3 to libraries