D3 finally working