SLIDE 3 Adjacency matrix
33
Well suited for
Not suited for
good for topology tasks
related to neighborhoods (node 1-hop neighbors) bad for topology tasks
related to paths
Structures visible in both
34
http://www.michaelmcguffin.com/courses/vis/patternsInAdjacencyMatrix.png
Idiom: adjacency matrix view
–transform into same data/encoding as heatmap
- derived data: table from network
–1 quant attrib
- weighted edge between nodes
–2 categ attribs: node list x 2
–cell shows presence/absence of edge
–1K nodes, 1M edges
35
[NodeTrix: a Hybrid Visualization of Social Networks. Henry, Fekete, and McGuffin. IEEE TVCG (Proc. InfoVis) 13(6):1302-1309, 2007.] [Points of view: Networks. Gehlenborg and
- Wong. Nature Methods 9:115.]
Node-link vs. matrix comparison
- node-link diagram strengths
–topology understanding, path tracing –intuitive, flexible, no training needed
- adjacency matrix strengths
–focus on edges rather than nodes –layout straightforward (reordering needed) –predictability, scalability –some topology tasks trainable
–node-link best for small networks –matrix best for large networks
- if tasks don’t involve path tracing!
36
[On the readability of graphs using node-link and matrix-based representations: a controlled experiment and statistical analysis. Ghoniem, Fekete, and Castagliola. Information Visualization 4:2 (2005), 114–135.] http://www.michaelmcguffin.com/courses/vis/patternsInAdjacencyMatrix.png
Idiom: NodeTrix
- hybrid nodelink/matrix
- capture strengths of both
37
NodeTrix
[Henry et al. 2007]
Trees
38
Tree exercise
- socrative: true when done with both
39
Here is part of a directory structure used for the material for this class and the relative file size. datavis-17/ lectures/ Intro.key (110 MB) perception/ Perception.key (113 MB) Blindness.mov (15MB) Data.key (12 MB) Graphs.key (180 MB) exams/ Exam1-solution.doc (5MB) Exam1.doc (1MB) exercise/ Graph.doc (3MB) Graph-video.doc (210MB)
Sketch two different visualizations that show both, the directory structure and the size of the directories and the contained files.
Node-link trees
–tidy drawings of trees
- exploit parent/child structure
–allocate space: compact w/o
- verlap
- rectilinear and radial variants
–nice algorithm writeup
40
http://bl.ocks.org/mbostock/4339184 http://bl.ocks.org/mbostock/4063550
http://billmill.org/pymag-trees/
Idiom: radial node-link tree
–tree
–link connection marks –point node marks –radial axis orientation
- angular proximity: siblings
- distance from center: depth in tree
- tasks
–understanding topology, following paths
–1K - 10K nodes
41
http://mbostock.github.com/d3/ex/tree.html
!"#$ " % " & ' ( ) * + *&,+($#
2 / , % ) ( ' 3 ( # , * ( , # $ 4)$#"#*5)*"&2&,+($# 6$#.$78.$ . # " 9 5 :$(;$$%%$++2$%(#"&)(' < ) % = > ) + ( " % * $ 6 " ? @ & / ; 6 ) % 2 , ( 35/#($+(A"(5+ 39"%%)%.B#$$ / 9 ( ) ) C " ( ) / %
9 $ * ( D " ( ) / : " % = $ # "%)0"($ 7"+)%. @,%*()/%3$E,$%*$ ) % ( $ # 9 / & " ( $
2/&/#F%($#9/&"(/# > " ( $ F % ( $ # 9 / & " ( / # F % ( $ # 9 / & " ( / # 6 " ( # ) ? F % ( $ # 9 / & " ( / # G , H $ # F % ( $ # 9 / & " ( / # IHJ$*(F%($#9/&"(/# A/)%(F%($#9/&"(/# D$*("%.&$F%($#9/&"(/# F3*5$8,&"H&$ A"#"&&$& A",+$ 3 * 5 $ 8 , & $ # 3$E,$%*$ B # " % + ) ( ) / % B#"%+)()/%$# B # " % + ) ( ) / % 7 1 $ % ( B;$$% 8 " ( " */%1$#($#+ 2 / % 1 $ # ( $ # + >$&)0)($8B$?(2/%1$#($# K#"956<2/%1$#($# F>"("2/%1$#($# L 3 I G 2 / % 1 $ # ( $ # >"("@)$&8 >"("3*5$0" > " ( " 3 $ ( >"("3/,#*$ >"("B"H&$ >"("M()& 8)+9&"' >)#('39#)($ <)%$39#)($ D $ * ( 3 9 # ) ( $ B $ ? ( 3 9 # ) ( $ ! $ ? @ & " # $ N ) + 95'+)*+ >#".@/#*$ K#"1)('@/#*$ F@/#*$ G:/8'@/#*$ A " # ( ) * & $ 3)0,&"()/% 39#)%. 39#)%.@/#*$ E , $ # '
- ..#$."($7?9#$++)/%
- %8
- #)(50$()*
- 1$#".$
:)%"#'7?9#$++)/% 2 / 9 " # ) + / % 2/09/+)($7?9#$++)/% 2/,%( >"($M()& > ) + ( ) % * ( 7?9#$++)/% 7 ? 9 # $ + + ) / % F ( $ # " ( / # @% FO F +
6 " ( * 5 6"?)0,0 $ ( 5 / 8 + "88 "%8 " 1 $ # " . $ */,%( 8)+()%*( 8 ) 1 $E O% .( .($ )OO )+" &( & ( $ 0"? 0)% / 8 , & %$E %/( /# / # 8 $ # H ' # " % . $ +$&$*( +(88$1 +,H +,0 , 9 8 " ( $ 1"#)"%*$ ;5$#$ ? / # P 6 ) % ) , G/( I# Q , $ # ' D"%.$ 3(#)%.M()& 3,0 N"#)"H&$ N"#)"%*$ R / # + * " & $ F3*"&$6"9 < ) % $ " # 3 * " & $ < / . 3 * " & $ I#8)%"&3*"&$ Q,"%()&$3*"&$ Q , " % ( ) ( " ( ) 1 $ 3 * " & $ D//(3*"&$ 3 * " & $ 3 * " & $ B ' 9 $ B)0$3*"&$ , ( ) &
2 / & / # + >"($+ >)+9&"'+ @)&($# K$/0$(#' 5$"9 @ ) H / % " * * ) 4 $ " 9 4$"9G/8$ F 7 1 " & , " H & $ FA#$8)*"($ F N " & , $ A # / ? ' " ( 5 >$%+$6"(#)? F 6 " ( # ) ? 39"#+$6"(#)? 6"(5+ I#)$%("()/% 9"&$(($ 2/&/#A"&$(($ A"&$(($ 3 5 " 9 $ A " & $ ( ( $ 3 ) C $ A " & $ ( ( $ A # / 9 $ # ( ' 35"9$+ 3/#( 3("(+ 3(#)%.+ 1 ) + "?)+
$ +
2"#($+)"%-?$+ */%(#/&+
2 & ) * = 2 / % ( # / & 2/%(#/& 2/%(#/&<)+( > # " . 2 / % ( # / & 7?9"%82/%(#/& 4/1$#2/%(#/& F2/%(#/& A"%S//02/%(#/& 3$&$*()/%2/%(#/& B//&()92/%(#/& 8 " ( " >"(" >"("<)+( >"("39#)($ 78.$39#)($ G / 8 $ 3 9 # ) ( $ #$%8$#
78.$D$%8$#$# FD$%8$#$# 35"9$D$%8$#$# 3*"&$:)%8)%. B#$$ B # $ $ : , ) & 8 $ # $1$%(+ >"("71$%( 3 $ & $ * ( ) / % 7 1 $ % ( B//&()971$%( N ) + , " & ) C " ( ) / % 7 1 $ % ( & $ . $ % 8 <$.$%8 < $ . $ % 8 F ( $ <$.$%8D"%.$ / 9 $ # " ( / # 8 ) + ( / # ( ) / % :)O/*"&>)+(/#()/% > ) + ( / # ( ) / % @)+5$'$>)+(/#()/% $%*/8$# 2 / & / # 7 % * / 8 $ # 7%*/8$# A#/9$#('7%*/8$# 35"9$7%*/8$# 3 ) C $ 7 % * / 8 $ # T&($# @)+5$'$B#$$@)&($# K#"95>)+("%*$@)&($# N)+)H)&)('@)&($# FI9$#"(/# &"H$& <"H$&$# D"8)"&<"H$&$# 3("*=$8-#$"<"H$&$# &"'/,(
:,%8&$878.$D/,($# 2)#*&$<"'/,( 2)#*&$A"*=)%.<"'/,( >$%8#/.#"0<"'/,( @ / # * $ > ) # $ * ( $ 8 < " ' / , ( F * ) * & $ B # $ $ < " ' / , ( F%8$%($8B#$$<"'/,( <"'/,( G/8$<)%=B#$$<"'/,( A)$<"'/,( D"8)"&B#$$<"'/,( D " % 8 / < " ' / , ( 3 ( " * = $ 8
$ " < " ' / , ( B # $ $ 6 " 9 < " ' / , ( I9$#"(/# I9$#"(/#<)+( I9$#"(/#3$E,$%*$ I 9 $ # " ( / # 3 ; ) ( * 5 3/#(I9$#"(/# N)+,"&)C"()/%
Containment (implicit) layouts
42
Treemap Sunburst Icicle Plot
Idiom: treemap
–tree –1 quant attrib at leaf nodes
–area containment marks for hierarchical structure –rectilinear orientation –size encodes quant attrib
–query attribute at leaf nodes
–1M leaf nodes
43
http://tulip.labri.fr/Documentation/3_7/userHandbook/html/ch06.html
Treemap software: disk space
44
Mac: GrandPerspective Windows: Sequoia View Containment: Approaches compared
45
Only Leaves Visible Inner Nodes and Leaves Visible
Link marks: Connection and containment
- marks as links (vs. nodes)
–common case in network drawing –1D case: connection
- ex: all node-link diagrams
- emphasizes topology, path tracing
- networks and trees
–2D case: containment
- ex: all treemap variants
- emphasizes attribute values at leaves (size coding)
- only trees
46
Node–Link Diagram Treemap
[Elastic Hierarchies: Combining Treemaps and Node-Link
- Diagrams. Dong, McGuffin, and Chignell. Proc. InfoVis
2005, p. 57-64.]
Containment Connection
Tree drawing idioms comparison
– link relationships – tree depth – sibling order
– connection vs containment link marks – rectilinear vs radial layout – spatial position channels
– redundant? arbitrary? – information density?
- avoid wasting space
- consider where to fit labels!
47
[Quantifying the Space-Efficiency of 2D Graphical Representations of
- Trees. McGuffin and Robert. Information
Visualization 9:2 (2010), 115–140.]
treevis.net: many, many options
48
https://treevis.net/