Categories
data science

From adjacency matrix to d3js network graph

So yeah, I’m back in this. Very simple script to turn an adjacency matrix to a D3js network json file. This is the file that we start with: node1 node2 node3 node1 0 8 1 node2 8 0 3 node3 1 3 0 As you can see, this is an undirected graph. This next bit […]