This visualisation uses a D3 force simulation to show the Twitter relationships between the Assembly Members in the Welsh Assembly in terms of the number of times each assembly member has mentioned another assembly member in a tweet
Twitter relationships were mined on 22/03/2017, and are representative of the conversational relationships found in approximately 3,000 tweets from each assembly member posted before that date. Links between AMs represent a conversational relationship: one AM has mentioned the other. Party colour indicates the direction of the mention. Only links with greater than 5 mentions are included.
Links are sized and their strength is scaled according to the number of mentions in each direction
Hover over the nodes to fade out non-connected nodes.
Rather than using intermediate nodes to create curved links (as in Mike Bostock's block), this adds curves by adding a calculated control point for each edge
https://d3js.org/d3.v4.min.js