Added D3 api