• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Interactive visualization and exploration of network data with gephi
 

Interactive visualization and exploration of network data with gephi

on

  • 4,855 views

Presentation for a workshop given at the Centre for Interdisciplinary Methodologies at Warwick University on May 9 2013. Focuses on conceptual and historical questions. Comments, references, and ...

Presentation for a workshop given at the Centre for Interdisciplinary Methodologies at Warwick University on May 9 2013. Focuses on conceptual and historical questions. Comments, references, and explanations are in the notes.

Statistics

Views

Total Views
4,855
Views on SlideShare
4,201
Embed Views
654

Actions

Likes
11
Downloads
80
Comments
0

7 Embeds 654

http://www.scoop.it 294
http://amberatwarwick.wordpress.com 288
https://twitter.com 49
http://artemisscribe.com 11
http://flavors.me 8
http://mahara.warwick.ac.uk 2
https://www.google.ie 2
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Anatomy of a tweet. https://twitter.com/ICIJorg/status/321585235491962880https://api.twitter.com/1/statuses/show/321585235491962880.json
  • Very large scale systems on the one side, but highly concentrated data repositories on the other.The promise of data analysis is, of course, to use that data to make sense of all the complexity.
  • Reduction to the point and line model requires purging of context, etc. but provides considerable computational capacities. No free lunch, as it were.
  • Gitlin, The Dominant Paradigm, 1978Many people argue that we no longer need that grant, we already have the data.
  • Tukey, The Future of Data Analysis, 1962
  • Allows for all kinds of folding, combinations, etc. – Math is not homogeneous, but sprawling!Different forms of reasoning, different modes of aggregation.These are already analytical frameworks, different ways of formalizing.Statistics: atomism, structure is implicit ("hidden forces", "social forces" cf. Durhkeim) => groups are abstractions, constituted by socioeconomic similaritySocial Network Analysis: atomism, structure is explicit ("dyadic forces") => groups are concrete, constituted by social exchange
  • Now we can calculate (in particular via matrix algebra).
  • Handbooks on graph theory are full of exhaustive discussions of basic graph types. Loads of vocabulary and analytical approaches.
  • http://www.facebook.com/ElShaheeed (Created by WaelGhonim, considered to be a central place for the sparking of the Egyptian Revolution)http://apps.facebook.com/netvizz/ (tool used for extraction)
  • Classic, simple statistics are often very useful.
  • It's easy and interesting to produce correlations.
  • A very different concept of "relation" – no longer derived and probabilistic (correlation) but explicit.Formalization: here: posts and users, but we could do many other things, e.g. users linked by co-reaction, posts linked by co-reaction, we could look at relationships between words, etc.How do we interpret this: understand the platform, understand the context of the phenomenon, understand the algorithm, etc.
  • How do we interpret something like this?
  • Visualization is, again, one type of analysis.Which properties of the network are "made salient" by an algorithm?http://thepoliticsofsystems.net/2010/10/one-network-and-four-algorithms/Models behind: spring simulation, simulated annealing (http://wiki.cns.iu.edu/pages/viewpage.action?pageId=1704113)
  • Non force-based layouts can be extremely useful. Gephi can produce those as well
  • Extend word lists (what am I missing?), account for refraction. Rieder & Gerlitz 2013: http://journal.media-culture.org.au/index.php/mcjournal/article/viewArticle/620Rieder 2012: http://firstmonday.org/ojs/index.php/fm/article/view/4199/3359
  • Project variables into the graph User diversity = no of unique users of a hashtag divided by hashtag frequency
  • Larger roles of hashtags, not all are issue markers!
  • There is no need to analyze and visualize a graph as a network.Characterize hashtags in relation to a whole. (their role beyond a particular topic sample), better understand our "fishing pole" (the sample technique) and the weight it carries.Tbt: throwback thursday
  • From DMI workshop on anti-Islamism and right-wing extremism.We can also look at interaction patters: activity structure, held together by leaders?
  • From DMI workshop on anti-Islamism and right-wing extremism.Netvizz also allows for looking into interaction patterns in groups..
  • Unique user id allows for large scale analysis.The connectors are often the admins.See: https://wiki.digitalmethods.net/CounterJihadism/ProjectGroup7
  • We can also look at interaction patters: activity structure, held together by leaders?
  • Combination of methods is most interesting.The move to posting a larger number of photos is highly successful for this page.What is happening in April 2012?For more details see: https://wiki.digitalmethods.net/CounterJihadism/ProjectGroup3Network diagrams are not so good with time.
  • Simply looking at "images" in quantitative terms is not enough, here the qualitative part begins and netvizz makes it easier to take that step:Extracting photo URLsExtracting commentsStudying most "successful" tropes in depth, etc.For more details see: https://wiki.digitalmethods.net/CounterJihadism/ProjectGroup3
  • Network analysis has produced a large number of calculated metrics that take into account the structure of the network."All in all, this process resulted in the specification of nine centrality measures based on three conceptual foundations. Three are based on the degrees of points and are indexes of communication activity. Three are based on the betweenness of points and are indexes of potential for control of communication. And three are based on closeness and are indexes either of independence or efficiency." (Freeman 1979)What concepts are these metricsbased on?
  • Network metrics are highly dependent on individual variables. Here: the same network with PageRank with four different values for the dampening parameter alpha. (red=highest PR value, yellow=second highest, turquoise=third highest)See Rieder 2012: http://computationalculture.net/article/what_is_in_pagerank

Interactive visualization and exploration of network data with gephi Interactive visualization and exploration of network data with gephi Presentation Transcript

  • Interactive visualization and explorationof network data with gephiBernhard RiederUniversiteit van AmsterdamMediastudies Departmentand some conceptual context
  • ContextTerms like "big data", "computational social science", "digital humanities","digital methods", etc. are receiving a lot of attention.They point to a set of practices of knowledge production: data analysis,visualization, modeling, etc.Instead of a totalizing search for a "logic" of data analysis, we couldinquire into the vocabulary of concepts and analytical gestures thatconstitute the practice of data analysis.A twofold approach to methods:☉ Engagement, development, application => digital methods☉ Conceptual, historical, and political analysis and critique => software studies
  • This workshopHow do we talk about data? How do we analyze them? What is our frameof thought? How do we go further in terms of imagination, expressivity?☉ Introduction☉ A bit of math☉ Two kinds of mathematics☉ Concepts and techniques from graph theory☉ Working with gephiEngage the theory of knowledge (epistemology) mobilized in data analysis,but through the actual techniques and not generalizing concepts.
  • Basic ideasWhy?Why do network analysis and visualization? Which arguments are putforward?☉ New media: technical and conceptual structures modeled as networks☉ Calculative capacities: powerful techniques and tools☉ Visualization: the network diagram, "visual analytics"☉ Logistics: data and software are available☉ Methodology: dissatisfaction with statistics (SNA)☉ Society: diversification, problems with demographics / statistics / theory
  • Platforms like Twitterboost opportunities forconnectivity betweenvarious types of actors.
  • At the same time, theyproduce detailed datatraces that are highlycentralized and searchable.Much of these data can beanalyzed as graphs.
  • What styles of reasoning?Hacking (1991) building the concept of "style of reasoning" on A. C.Crombie’s (1994) "styles of scientific thinking":☉ postulation and deduction☉ experiment and empirical research☉ reasoning by analogy☉ ordering by comparison and taxonomy☉ statistical analysis of regularities and probabilities☉ genetic developmentWhat kind of reasoning are we mobilizing in data analysis?Is it one type of reasoning or many?Are we "positivists" when we do data analysis? Reductionists?
  • Quality / quantity"One of my favorite fantasies is a dialogue between Mills and Lazarsfeld in which the formerreads to the latter the first sentence of The Sociological Imagination: Nowadays men oftenfeel that their private lives are a series of traps. Lazarsfeld immediately replies: How manymen, which men, how long have they felt this way, which aspects of their private livesbother them, do their public lives bother them, when do they feel free rather than trapped,what kinds of traps do they experience, etc., etc., etc. If Mills succumbed, the two of themwould have to apply to the National Institute of Mental Health for a million-dollar grant tocheck out and elaborate that first sentence. They would need a staff of hundreds, and whenfinished they would have written Americans View Their Mental Health rather than TheSociological Imagination, provided that they finished at all, and provided that either of themcared enough at the end to bother writing anything." (Maurice Stein, cit. in Gitlin 1978)Theory vs. empiricism, macro vs. micro, qualitative vs. quantitative, inductive vs.deductive, associative vs. formalistic, etc.The promise of data analysis tools, applied to exhaustive (and cheap) data, is tobridge the gap, to allow zooming, "quali-quanti" (Latour 2010).
  • Two kinds of mathematicsCan there be data analysis without math? No.Does this imply epistemological commitments? Yes.But there are choices, e.g. between:☉ Confirmatory data analysis => deductive☉ Exploratory data analysis (Tukey 1962) => inductiveThere is a fast growing variety of formal analytical gestures relying onmathematical modeling and computation.
  • Two kinds of mathematicsStatisticsObserved: objects and propertiesInferred: social forcesData representation: the tableVisual representation: quantity chartsGrouping: "class" (similar properties)Graph-theoryObserved: objects and relationsInferred: structureData representation: the matrixVisual representation: network diagramsGrouping: "clique" (dense relations)
  • Graph theoryLeonhard Euler, "Seven Bridges of Königsberg", 1735Introducing the "point and line" model
  • Graph theoryDevelops over the 20th century, in particular the second half.Integrates branches of mathematics (topology, geometry, statistics, etc.).Graph theory is "the mathematics of structure" (Harary 1965), "amathematical model for any system involving a binary relation" (Harary1969); it makes relational structure calculable."Perhaps even more than to the contact between mankind and nature, graph theory owes tothe contact of human beings between each other." (König 1936)
  • Basic ideasMoreno 1934Graph theory developed inexchange with sociometry,small-group research and(later) social exchangetheory.Starting point:"the sociometric test"(experimental definition of"relation")
  • Basic ideas
  • Forsythe and Katz, 1946, "adjacency matrix"
  • Harary, Graph Theory, 1969
  • Basic ideasThe late 1990sThe network "singularity":☉ The network imaginary, a "new science of networks" (Watts 2005)☉ Computational capacities (memory, speed, interfaces, etc.)☉ New platforms and datasets☉ Packaged toolsDifferent traditions conflate to form network analysis:☉ Social network analysis and sociometrics☉ Scientometrics / science and technology studies☉ Mathematics / physics / computer science☉ Information and data visualization☉ Digital sociology / new media studies
  • Basic ideasAdamic and Glance, "Divided They Blog", 2005
  • Formalization"As we have seen, the basic terms of digraph theory are point and line. Thus, if anappropriate coordination is made so that each entity of an empirical system is identifiedwith a point and each relationship is identified with a line, then for all true statementsabout structural properties of the obtained digraph there are corresponding true statementsabout structural properties of the empirical system." (Harary et al. 1965)There is always an epistemological commitment!=> What can "carry" the reductionism and formalization?=> What types of analytical gestures?
  • Facebook Page "ElShaheeed", June 2010 – June 2011, (Poell / Rieder, forthcoming)7K posts, 700K users, 3.6M comments, 10M likes (tool: netvizz), work in progress!
  • Facebook Page "ElShaheeed", June 2010 – June 2011:comment timescatter, log10 y scale, likes on
  • Facebook Page "ElShaheeed", June 2010 – June 2011:scatterplot comments / likes, per post type
  • Facebook Page "ElShaheeed"700K nodes, 11M connectionsColor: type
  • Facebook Page "ElShaheeed"700K nodes, 11M connectionsColor: outdegree
  • Basic ideasWhat Kind of Phenomena/Data?Interactive networks (Watts 2004): link encodes tangible interaction☉ social network☉ citation networks☉ hypertext networksSymbolic networks (Watts 2004): link is conceptual☉ co-presence (Tracker Tracker, IMDB, etc.)☉ co-word☉ any kind of "structure" that can be as point and line=> do all kinds of analysis (SNA, transportation, text mining, etc.)=> analyze structure in various ways
  • Basic ideasWhat is a graph?An abstract representation of nodes connected by links.Two ways of dealing with graphs:☉ mathematical analysis (graph statistics, structural measures, etc.)☉ visualization (network diagram, matrix, arc diagram, etc.)
  • Three different force-based layouts of my FB profileOpenOrd, ForceAtlas, Fruchterman-Reingold
  • Non force-based layoutsCircle diagram, parallel bubble lines, arc diagram
  • Network statisticsbetweenness centralitydegreeRelational elements of graphs canbe represented as tables (nodeshave properties) and analyzedthrough statistics.Network statistics bridge the gapbetween individual units and thestructural forms they areembedded in.This is currently an extremelyprolific field of research.
  • Basic ideas
  • Basic ideasWhat is a graph?Vertices and edges!Nodes and lines!Two main types:Directed (e.g. Twitter)Undirected (e.g. Facebook)Properties of nodes:degree, centrality, etc.Properties of edges:weight, direction, etc.Properties of the graph:averages, diameter, communities, etc.
  • Basic ideas
  • Basic ideasWikipedia: Glossary of graph theoryTools are easy, concepts are hard
  • Basic ideasInteractive visual analyticsBringing structure to the surface (gephi panel: "layout")☉ different spatializations (force, geometry, etc.)Projecting variables into the diagram (gephi panel: "ranking")☉ Size (nodes, edges, labels, etc.)☉ Color (nodes, edges, labels, etc.)Deriving measures (gephi panel: "statistics")☉ Properties of nodes, edges, structure => new variablesAnalysis: e.g. correlation between spatial layout and variables?
  • Basic ideashttp://courses.polsys.net/gephi/
  • Basic ideas
  • Basic ideasTwitter #ows dataset, co-hashtag analysisStrong topic clustering
  • Twitter 1% sample, co-hashtag analysis227,029 unique hashtags, 1627 displayed (freq >= 50)Size: frequencyColor: modularity
  • Size: frequencyColor: user diversityTwitter 1% sample, co-hashtag analysis227,029 unique hashtags, 1627 displayed (freq >= 50)
  • Size: frequencyColor: degreeTwitter 1% sample, co-hashtag analysis227,029 unique hashtags, 1627 displayed (freq >= 50)
  • Twitter 1% sampleCo-hashtag analysisDegree vs.wordFrequency
  • Degree vs. userDiversityTwitter 1% sampleCo-hashtag analysis
  • FB group "Islam is dangerous"Friendship network, color: betweenness centrality2.339 membersAverage degree of 39.6981.7% have at least one friend in the group55.4% five or more37.2% have 20 or morefounder and admin has 609 friends
  • FB group "Islam is dangerous"Friendship network, color: Interface languageen_us, de, en_uk, it dominate
  • Mapping European ExtremismFriendship relations of 18 extreme-right groups
  • FB page "Educate children about the evils of Islam"Links have more comments, photos more likes.
  • FB page "Stop the Islamizationof the World"Number of posts and reactions
  • FB page "Stop theIslamization of the World"
  • Basic ideasInteractive visual analyticsBringing structure to the surface (gephi panel: "layout")☉ different spatializations (force, geometry, etc.)Projecting variables into the diagram (gephi panel: "ranking")☉ Size (nodes, edges, labels, etc.)☉ Color (nodes, edges, labels, etc.)Deriving measures (gephi panel: "statistics")☉ Properties of nodes, edges, structure => new variablesAnalysis: e.g. correlation between spatial layout and variables?
  • Basic ideashttp://courses.polsys.net/gephi/
  • Nine measures of centrality (Freeman 1979)
  • Label PR α=0.85 PR α=0.7 PR α=0.55 PR α=0.4 In-Degree Out-Degree Degreen34 0.0944 0.0743 0.0584 0.0460 4 1 5n1 0.0867 0.0617 0.0450 0.0345 1 2 3n17 0.0668 0.0521 0.0423 0.0355 2 1 3n39 0.0663 0.0541 0.0453 0.0388 5 1 6n22 0.0619 0.0506 0.0441 0.0393 5 1 6n27 0.0591 0.0451 0.0371 0.0318 1 0 1n38 0.0522 0.0561 0.0542 0.0486 6 0 6n11 0.0492 0.0372 0.0306 0.0274 3 1 4
  • Basic ideasUS Airports
  • Thank Yourieder@uva.nlhttps://www.digitalmethods.nethttp://thepoliticsofsystems.net"Far better an approximate answer to the right question,which is often vague, than an exact answer to the wrongquestion, which can always be made precise. Dataanalysis must progress by approximate answers, at best,since its knowledge of what the problem really is will atbest be approximate." (Tukey 1962)