33
Analyzing facebook networks with Gephi (netvizz app) Beatriz Patraca Dibildox

Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

  • Upload
    others

  • View
    3

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Analyzing facebook networkswith Gephi (netvizz app)

Beatriz Patraca Dibildox

Page 2: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Gephi

Gephi is a tool for exploring and understanding graphs. Like in the case of Photoshop (but for graphs), the user interacts with the representation, manipulate the structures, shapes and colors to reveal hidden properties.

http://gephi.org

Page 3: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Netvizz 

• Sign into a Facebook account• Search for “netvizz” application• Choose parameters you would like included in the file:

Page 4: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Netvizz

Page 5: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My Netvizz• Network for Peace in Mexico (workgroup)• Nodes: 55  Edges:157

Page 6: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Back to Gephi

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

• When your file is opened, the report sum up data found and issues.  Click OK

Page 7: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My first representation

• First, you can see a hairball like this:

Page 8: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Run a layout

• Locate the layout module on the left panel • Choose Force Atlas• You can see the layout  properties  below. Click on Run and 

Stop.

Page 9: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Control the layout

• The purpose of layout properties is to let you control the algorithm in order to make a readable representation.

• Force Atlas makes the connected nodes attracted to each other and pushes de unconnected nodes apart to create clusters of connections.

Page 10: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Control the layout

• Set the repulsion strength at 10 000 to expand the graph 

• Click enter to validate the value.• Click stop when it seems as if you have some different clusters.

Repulsion strength: How strongly each pair of connected nodes attracted each other.

Page 11: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Control the layout• You should  now see a graph with the layout applied.

Page 12: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Ranking (degree)• Ranking module lets you configure node’s color and size. • Choose the ranking tab in the top left module and 

choose Degree from the menu.

• Click on apply

Remember: degree=number of connections.

Page 13: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Ranking (color)

• Let’s configure colors.  • Hover your mouse over the gradient bar then double click on each triangle.

• Try to use a bright colors for the highest degree so it’s easy to see who’s the most connected.

• Click on apply

Page 14: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Ranking (result table)

• You can see rank values by enabling the result table.

• Click the table icon in the bottom left of the ranking tab. 

• Click apply

Page 15: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Statistics 

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

• Select directed and click ok

Page 16: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My Statistics• When finished the metric displays its results in a report like this (betweenness, closeness and eccentricity): 

Page 17: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Ranking (Betweenness)

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

Page 18: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Ranking (size)

• Click on the icon for size.• Set min size at 10 and max size at 50. Play around  with these numbers depending on the size of your network.

Page 19: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My network (betweenness and size)

• Color: Degree       Size: Betweenness centrality metric

Page 20: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Layout (betweenness)• To keep the large nodes for overlapping smaller ones, go back to the layout panel.

• Check the “Adjust by sizes” option and run again de algorithm for just a moment. So the modules will spread out accordingly.

Page 21: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Labels

• Display node labels

• Set label size proportional with node size

• Use the slider to adjust the overall label size to your liking.  You can also change the font  style by clicking next to the slider

Page 22: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My labels

Page 23: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Community detection

• Go back to the statistics panel and click Run near the “Modularity”. Check “randomize” and click ok.

Page 24: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Partition• 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 25: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Partition

• Choose “modularity class” from the menu.  You can click “randomize colors” if you don’t like the colors.

• Click apply to colorize.

Page 26: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My partition

Page 27: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Filter• 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 the “degree range” to activate the filter.  It shows a range slider and the chart that represents the data, the degree distribution here.  Move the slide to sets its lower bound to 2 and filter.  Nodes with a degree inferior to 2 are now hidden.

Page 28: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Preview• At the top left click on the preview tab.

• Under node set check “show labels” and click refresh at the bottom. Click on the presets list and try different configurations.

Page 29: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My preview

Page 30: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My network(some representations)

Page 31: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

Export

• Choose to export at the bottom left in either SVF or PDF.  

• Now you have visualized your facebook network community clusters!

Page 32: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

My network in pdf

Page 33: Analyzing facebook networks with Gephi (netvizz app)...• Hover your mouse over the gradient bar then double click on each triangle. ... spread out accordingly. Labels • Display

• Based on:http://www.slideshare.net/sociomantic/facebook‐network‐

analysis‐using‐gephi‐3996673http://gephi.org/2010/quick‐start‐tutorial/http://gephi.org/2011/new‐tutorial‐layouts‐in‐gephi/Gephi websiteGephi Wiki Gephi forum

Thanks!patradox ad gmail.com