an es2015 d3v4 iteration on the block Force layout graph with colour-coded node neighbours from @samuelleach
First attempt at making a colour-coded graph, with code snippets inspired from the D3 community.
Green => Friend and follower.
Red => Follower
Blue => Friend.
Improvements needed:
Smooth transition on the arrow head.
Better positioning of the arrow heads.
Modified http://d3js.org/d3.v4.js to a secure url
https://d3js.org/d3.v4.js