Added in D3 code