Adjacency matrix with D3