Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Static and dynamic network visualization with R: PolNet Workshop 2015

7,065 views

Published on

Static and dynamic network visualization with R: PolNet Workshop 2015

Published in: Data & Analytics
  • Be the first to comment

Static and dynamic network visualization with R: PolNet Workshop 2015

  1. 1. Katherine Ognyanova (Katya) • Postdoctoral Research Fellow, The Lazer Lab Email: katya@ognyanova.net • Website: www.kateto.net • Twitter: @ognyanova R Network Visualization Workshop POLNET 2015, Portland OR
  2. 2. Slide  2 www.kateto.net Workshop data files, handout & R code: kateto.net/polnet2015
  3. 3. Slide  3 www.kateto.net Selecting the right network visualization
  4. 4. Slide  4 www.kateto.net 1. Purpose
  5. 5. Slide  5 www.kateto.net 2. Audience
  6. 6. Visualization goals The network as a map Key actors and links Relationship strength Diffusion patterns Structural properties Communities A B
  7. 7. Some network visualization types Hive plots Network Maps Arc diagrams Biofabric Statistical charts Heat maps
  8. 8. Arc Diagram (R package arcdiagram) Les Miserables Arc Diagram, Gaston Sanchez 2013
  9. 9. Heatmap (base R, ggplot2) Liu, Wang, Wang & Xie, PLOS ONE 2014
  10. 10. Hive plot (R package HiveR) www.hiveplot.net, 2014
  11. 11. Slide  11 www.kateto.net Network visualization controls
  12. 12. Network visualization controls Color Size Position Shape Honorable mention: arrows (direction) and labels (identification)
  13. 13. Layout aesthetics Minimize edge crossing No Yes Prevent overlap No Yes Uniform edge length No Yes Symmetry No Yes
  14. 14. Slide  14 www.kateto.net Some network examples
  15. 15. Adoption of topics in the US media system. Source: www.kateto.net Classic „pretty spaghetti bowl“ network viz
  16. 16. Stability in Afghanistan US military chart, via NYT.com, 2010
  17. 17. Internet Backbone: Each node represents an IP address. Source: Wikipedia
  18. 18. Linking patterns in the US political blogosphere. Source: Adamic & Glance (2005)
  19. 19. Twitter network, @OIIOxford. Source: Hogan, 2011
  20. 20. Wikipedia co-editing patterns among top editors in English. Source: Hogan, 2012
  21. 21. Map of the Web: Nodes represent websites. Source: internet-map.net
  22. 22. Flavor network and the principles of food preparing. Source: Ahn, Ahnert, Bagrow & Barabasi , 2012
  23. 23. Disease network: phenotype and disease gene associations. Source: Diseasome.eu, 2013
  24. 24. Network of Facebook friendships. Source: Facebook.com , 2010
  25. 25. Global Flights Network. Source: www.visualizing.org, 2012
  26. 26. Global Spread of H1N1 and human mobility. Source: gleamviz.org, 2011
  27. 27. Spatiotemporal Processes of Information Diffusion. Source: Cao, Lin, Sun, Lazer, Liu, Qu (2012)
  28. 28. The world according to Democrats in Congress – Lazer, Tsur, Ognyanova 2015
  29. 29. The world according to Republicans Congress – Lazer, Tsur, Ognyanova 2015
  30. 30. Slide  30 www.kateto.net Quick note on network formats
  31. 31. A B C D E A 0 0 0 0 0 B 1 0 0 0 1 C 1 0 0 1 1 D 0 0 0 0 0 E 0 0 0 0 0 A CB D E Network formats: the Matrix
  32. 32. B A 1 B E 1 C A 1 C E 1 C D 1 A CB D E Source Destination Weight Note: Weights are optional. Network formats: the Edgelist
  33. 33. B A E C A D E A CB D E Source Destinations Network formats: the Nodelist
  34. 34. A yellow 1 B green 3 C orange 5 D yellow 3 E blue 1 A CB D E Node ID Attr1 Attr2 Network formats: Node attributes
  35. 35. Network types: adjacency and affiliation Adjacency (one-mode graph) Affiliation (two-mode / bipartite graph) Paul Kate HP Jill MS John Jim Paul Kate John Jill Jim
  36. 36. Contact Information: Katherine Ognyanova E-mail: katya@ognyanova.net Website: www.kateto.net

×