Tree Structures Hierarchical Information cs 5764 Information Visualization

  • Slides: 43
Download presentation
Tree Structures (Hierarchical Information) cs 5764: Information Visualization Chris North

Tree Structures (Hierarchical Information) cs 5764: Information Visualization Chris North

Where are we? • • Multi-D 1 D 2 D Trees Graphs 3 D

Where are we? • • Multi-D 1 D 2 D Trees Graphs 3 D Document collections • Design Principles • Empirical Evaluation • Visual Overviews

Trees (Hierarchies) • What is a tree? • DAG, one parent per node •

Trees (Hierarchies) • What is a tree? • DAG, one parent per node • Items + structure (nodes + associations) • In table model? • Add parent pointer attribute • 1: M

Examples • • File system menus org charts Family tree classification/taxonomy Table of contents

Examples • • File system menus org charts Family tree classification/taxonomy Table of contents data structures …

Tasks • Multi-D tasks, plus structure-based tasks: • Find descendants, ancestors, siblings, cousins •

Tasks • Multi-D tasks, plus structure-based tasks: • Find descendants, ancestors, siblings, cousins • Overall structure, height, breadth, dense/sparse areas • …

Tree Properties • Structure vs. attributes • Attributes only (multi-dimensional viz) • Structure only

Tree Properties • Structure vs. attributes • Attributes only (multi-dimensional viz) • Structure only (1 attribute, e. g. name) • Structure + attributes • Branching factor • Fixed level, categorical

Tree Visualization • Example: Tree. View • Why is tree visualization hard? • Structure

Tree Visualization • Example: Tree. View • Why is tree visualization hard? • Structure AND items • Structure harder, consumes more space • Data size grows very quickly (exponential) » #nodes = bheight

2 Approaches • Connection (node & link) A • outliner B • Containment (node

2 Approaches • Connection (node & link) A • outliner B • Containment (node in node) • Venn diagram C A B C

Connection (node & link)

Connection (node & link)

Tree. View • • Good for directed search tasks subtree filtering (+/-) Not good

Tree. View • • Good for directed search tasks subtree filtering (+/-) Not good for learning structure No attributes Apx 50 items visible Lose path to root for deep nodes Scroll bar!

Mac Finder Branching factor: Small large

Mac Finder Branching factor: Small large

Hyperbolic Trees • Rao, “Hyperbolic Tree” • • http: //startree. inxight. com/ • Xerox

Hyperbolic Trees • Rao, “Hyperbolic Tree” • • http: //startree. inxight. com/ • Xerox PARC • Inxight • Focus+context

Cone Trees • Robertson, “Cone. Trees” • • Xerox PARC • 3 D for

Cone Trees • Robertson, “Cone. Trees” • • Xerox PARC • 3 D for focus+context

PDQ Trees • Overview+Detail of 2 D tree layout • Dynamic Queries on each

PDQ Trees • Overview+Detail of 2 D tree layout • Dynamic Queries on each level for pruning

PDQ Trees

PDQ Trees

Disk Tree • Ed Chi, Xerox PARC • Overview: Reduced visual representation

Disk Tree • Ed Chi, Xerox PARC • Overview: Reduced visual representation

Web. TOC • Website map: Tree. View + size attributes • http: //www. cs.

Web. TOC • Website map: Tree. View + size attributes • http: //www. cs. umd. edu/projects/hcil/webtoc/fhcil. html

FSN • SGI file system navigator • Jurassic Park • Zooming?

FSN • SGI file system navigator • Jurassic Park • Zooming?

Ugh!

Ugh!

Containment (node in node)

Containment (node in node)

2 Approaches • Connection (node & link) A • Outliner B C • Containment

2 Approaches • Connection (node & link) A • Outliner B C • Containment (node in node) • Venn diagram A B • Structure vs. attributes • Attributes only (multi-dimensional viz) • Structure only (1 attribute, e. g. name) • Structure + attributes C

Pyramids

Pyramids

3 D Containment

3 D Containment

Treemaps • Shneiderman, “Treemaps” • • http: //www. cs. umd. edu/hcil/treemap 3/ • Maryland

Treemaps • Shneiderman, “Treemaps” • • http: //www. cs. umd. edu/hcil/treemap 3/ • Maryland • zooming

Treemap Algorithm • Calculate node sizes: • Recurse to children • node size =

Treemap Algorithm • Calculate node sizes: • Recurse to children • node size = sum children sizes • Draw Treemap (node, space, direction) • Draw node rectangle in space • Alternate direction (slice or dice) • For each child: – Calculate child space as % of node space using size and direction – Draw Treemap (child, child space, direction)

Squarified Treemaps • Wattenberg • Van Wijk

Squarified Treemaps • Wattenberg • Van Wijk

 • http: //www. research. microsoft. com/~masmith/all_map. jpg

• http: //www. research. microsoft. com/~masmith/all_map. jpg

Cushion Treemaps • Van Wijk • http: //www. win. tue. nl/sequoiaview/

Cushion Treemaps • Van Wijk • http: //www. win. tue. nl/sequoiaview/

Dynamic Query Treemaps • http: //www. cs. umd. edu/hcil/treemap 3/

Dynamic Query Treemaps • http: //www. cs. umd. edu/hcil/treemap 3/

Treemaps on the Web • Map of the Market: http: //www. smartmoney. com/marketmap/ •

Treemaps on the Web • Map of the Market: http: //www. smartmoney. com/marketmap/ • People Map: http: //www. truepeers. com/ • Coffee Map: http: //www. peets. com/tast/11/coffee_selector. asp

Disk. Mapper • http: //www. miclog. com/dmdesc. htm

Disk. Mapper • http: //www. miclog. com/dmdesc. htm

Sunburst • Stasko, Ga. Tech • Radial layout • Animated zooming

Sunburst • Stasko, Ga. Tech • Radial layout • Animated zooming

Sunburst (vs. Treemap) • + Faster learning time: like pie chart • + Details

Sunburst (vs. Treemap) • + Faster learning time: like pie chart • + Details outward, instead of inward • + Focus+context instead of zooming • - Not space filling • - More space used by non-leaves • - Less scalability? • All leaves on 1 -D space, perimeter • Treemap: 2 -D space for leaves

Misc.

Misc.

CHEOPS • Beaudoin, “Cheops” • • http: //www. crim. ca/hci/cheops/index 1. html • http:

CHEOPS • Beaudoin, “Cheops” • • http: //www. crim. ca/hci/cheops/index 1. html • http: //tecfa. unige. ch/~schneide/cheops/lite 1. html

The Original Fisheye View • • George Furnas, 1981 (pg 311) Large information space

The Original Fisheye View • • George Furnas, 1981 (pg 311) Large information space User controlled focus point How to render items? f • Normal View: just pick items nearby • Fisheye View: pick items based on degree of interest • Degree of Interest = function of distance from f and a priori importance x • DOI(x) = -dist(x, f) + imp(x)

Example: Tree structure • Distance = # links between f and x • Importance

Example: Tree structure • Distance = # links between f and x • Importance = level of x in tree Distance: Importance: DOI: I I I A a b f B a b A i ii i ii a b B a b i ii

Challenges • Multiple foci • George Robertson, Microsoft Research

Challenges • Multiple foci • George Robertson, Microsoft Research

Polyarchies • multiple inter-twined trees • Visual pivot • George Robertson, Microsoft Research

Polyarchies • multiple inter-twined trees • Visual pivot • George Robertson, Microsoft Research

Nifty App of the Day • SAS JMP

Nifty App of the Day • SAS JMP

Summary • Hyperbolic <1000 • Tree. Map <3000, attributes, collective • Cheops = scale

Summary • Hyperbolic <1000 • Tree. Map <3000, attributes, collective • Cheops = scale up