27
Three easy ways to export your Facebook and twitter network as a graph. Beatriz Patraca (egolab-GRAFO)

Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

  • Upload
    vucong

  • View
    244

  • Download
    6

Embed Size (px)

Citation preview

Page 1: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Three easy ways to export your Facebook and twitter network as a

graph.

Beatriz Patraca (egolab-GRAFO)

Page 2: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

There are many applications that allow its users to visualize their own network directly from Facebook or twitter, but with the following three tools you can select algorithms, play with the usual measures and change colours and sizes.

Netvizz NodeXL Gephi

Page 3: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

1. Netvizz + Gephi

• Netvizz: Facebook app by Bernhard Rieder (professor at University of Amsterdam) allows you to create gdf files (a simple text format that specifies an undirected graph) from your relationships of either your personal network or the groups you are a member of.

• These files can then be analyzed and visualized using graph visualization software such as GUESS or the powerful and very easy to use Gephi platform.

Page 4: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Netvizz + Gephi

Gephi is a tool to explore and understand graphs. As in Photoshop (but for graphs), the user interacts with the representation, manipulates the structures, shapes and colours to reveal hidden properties.

http://gephi.org

Page 5: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Case study #Yosoy132enelextranjero (facebook group) On may 23rd,2012, a student movement from different universities in the country asked the media to fully inform citizens abaut the presidential contest in Mexico. “#yosoy132 en el extranjero” an extension of such group, is formed by mexican citizens abroad who support the struggle for the democratization of Mexico and Mexican mass media.

Page 6: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Netvizz + Gephi

Sign in to a Facebook account Search for “netvizz” application

Page 7: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Netvizz

2390 nodes

7991 edges

gdf file: save as...

Page 8: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Gephi

• In the Gephi menu bar go to File Menu and Open the .gdf file

• Run a layout. You can see the layout properties below.

• Ranking modules allows to configure node’s color and size.

• Choose the ranking tab in the top left module and choose Degree from the menu.

Page 9: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Gephi Go to the filters in the top right module and open the topology folder. Drag the degree range filter in to the Queries and drop it to drag filter here. Click on degree range to activate the filter. It shows a range slider and the chart that represents the data, the degree distribution here. In my case Nodes with a degree inferior to 20 are now hidden. Now: 187 nodes 7.7% visible 1611 edges 20.16% visible

Page 10: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Gephi

• Statics: Click the statistics tab in the top right module. Click run next to average path length.

• Return to ranking in the top left module and choose a rank parameter from the dropdown menu: “betweenness centrality”

Page 11: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Gephi

Play with the options and measures(size, colour, range, modularity, betweenness, outdegree, labs)

At the very top left click on the preview tab.

Page 12: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Gephi

• The community detection algorithm created a “Modularity class” for each node, wich we’ll use to colorize the communities.

• Locate the partition module on the left panel and click on the refresh button to populate list.

Page 13: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Gephi (betweenness)

Page 14: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Gephi (modularity)

Page 15: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

2. NodeXL

• NodeXL is a free, open-source template for Microsoft® Excel® 2007 and 2010 that makes easier to explore network graphs. With NodeXL, you can enter a network edge list in a worksheet, click a button and see your graph, all in the familiar environment of the Excel window.

• Download the template from NodeXL site. http://nodexl.codeplex.com/

Page 16: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

Case study

• This study is a part of a most complex analysis of users’ perception of Mexican identity in the Social Networking Sites.

• With the Hashtag # YoamoMéxico we proceeded to make a netnography of interactions occurring within a span of 16 hours.

• 1326 interactions (tweets, RT and mentions of #YoamoMéxico

• 1260 users, 360 links.

#YOAMOMEXICO

Page 17: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

NodeXL

From Twitter search network

Import data and term networks

Page 18: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

NodeXL

• NodeXL network metrics

Page 19: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

NodeXL

• You can display nodes with subgraph images sorted by network attributes:

• Also you can see the degree measure for each node:

@mayraying (137) @prawana (81) @pacoutrilla (29)

Page 20: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

NodeXL

Page 21: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz
Page 22: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

3. NodeXL + Gephi

• You can export graph data from the workbook and play with your network in another platform (like pajek or gephi)

Page 23: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

NodeXL + Gephi

EXPORT

IMPORT

Page 24: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz
Page 25: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

NodeXL + Gephi

Filtered network: 375 nodes.

Page 26: Three easy ways to - grupsderecerca.uab.catgrupsderecerca.uab.cat/egolab/sites/grupsderecerca.uab.cat.egolab/...Three easy ways to export your ... Netvizz NodeXL Gephi . 1. Netvizz

NodeXL + Gephi

Betweenness