I am importing a csv file called network_nodes which looks like
['151753', '111598', '0.211413517594337', '-0.130335792899132']
['151753', '118516', '0.211413517594337', '-0.100253812968731']
where the first two columns indicate nodes, and the 2 last columns are values associated with those nodes.
For instance, here the node called '151753' is connected to the node called '111598' and '118516'. And the node '151753' is associated with a value of '0.211413517594337', while '111598' is associated with a value of -0.130335792899132'.
I would like to plot this network in Networkx, using a different color (or node size) according to the node values (for instance red/big when the value is very high, blue/small when it is very low).
I do not know how to do this. I know that I should use something like
G=nx.read_adjlist('network_nodes.csv', delimiter=',')
nx.draw(G)
but the read_adjlist function do not allow me to import node values...
