Courtesy of Prof. Shixia Liu @Tsinghua University Introduction - - PowerPoint PPT Presentation

courtesy of prof shixia liu tsinghua university
SMART_READER_LITE
LIVE PREVIEW

Courtesy of Prof. Shixia Liu @Tsinghua University Introduction - - PowerPoint PPT Presentation

Courtesy of Prof. Shixia Liu @Tsinghua University Introduction Node-Link diagrams Space-Filling representation Hybrid methods Hierarchies often represented as trees Directed, acyclic graph Two main representation schemes


slide-1
SLIDE 1

Courtesy of Prof. Shixia Liu @Tsinghua University

slide-2
SLIDE 2
  • Introduction
  • Node-Link diagrams
  • Space-Filling representation
  • Hybrid methods
slide-3
SLIDE 3
  • Hierarchies often represented as trees

– Directed, acyclic graph

  • Two main representation schemes

– Node-link – Space-filling

slide-4
SLIDE 4
  • Introduction
  • Node-Link diagrams
  • Space-Filling representation
  • Hybrid methods
slide-5
SLIDE 5
  • Root at top, leaves at bottom is very common
slide-6
SLIDE 6
  • Recursive algorithm
  • Height on separate levels
  • Divide columns with unique widths
  • Make room for subtrees
slide-7
SLIDE 7
  • Radial drawing

– Cruz, Isabel F., and Roberto Tamassia. "Graph drawing tutorial." URL:

  • www. cs. brown. edu/rt/papers/gd-tutorial/gd-constraints. pdf(1998).
  • Ringed circular drawings

– Grivet, Sébastien, David Auber, Jean-Philippe Domenger, and Guy

  • Melancon. "Bubble tree drawing algorithm." In Computer Vision and

Graphics, pp. 633-641. Springer Netherlands, 2006.

  • Orthogonal drawings (alternating vertical and horizontal

placement)

slide-8
SLIDE 8
  • 3D extension of the 2D ringed circular layout
  • 3D views of hierarchies such as file systems
  • Developed at Xerox PARC

[Robertson et al., 1993]

slide-9
SLIDE 9
  • Change the geometry
  • Apply a hyperbolic

transformation to the space

  • Root is at center,

subordinates around

  • Apply idea recursively,

distance decreases between parent and child as you move farther from center, children go in wedge rather than circle

slide-10
SLIDE 10
  • Change the geometry
  • Apply a hyperbolic

transformation to the space

  • Root is at center,

subordinates around

  • Apply idea recursively,

distance decreases between parent and child as you move farther from center, children go in wedge rather than circle

slide-11
SLIDE 11
  • Introduction
  • Node-Link diagrams
  • Space-Filling representation
  • Hybrid methods
slide-12
SLIDE 12
  • Each item occupies an area
  • Children are “contained” under parent

One example: “Icicle plot”

slide-13
SLIDE 13
  • Space-filling representation developed by

Shneiderman and Johnson, Vis ‘91

  • Children are drawn inside their parent
  • Alternate horizontal and vertical slicing at each

successive level

  • Use area to encode other variable of data items

[Johnson et al., 1991]

slide-14
SLIDE 14
slide-15
SLIDE 15
slide-16
SLIDE 16

Directories

slide-17
SLIDE 17
  • Draw()
  • {
  • Change orientation from parent (horiz/vert)
  • Read all files and directories at this level
  • Make rectangle for each, scaled to size
  • Draw rectangles using appropriate size and color
  • For each directory
  • Make recursive call using its rectangle as focus
  • }
slide-18
SLIDE 18

Non-nested Tree-Map Nested Tree-Map

slide-19
SLIDE 19
  • Good

– Representation of two attributes beyond node-link:

color and area

  • Not as good

– Also can get long-thin aspect ratios – Borders help on smaller trees, but take up too much

area on large, deep ones

– What if nodes with zero value (mapped to area) are

very important?

How to solve these problems?

slide-20
SLIDE 20

These kinds of rectangles are visually unappealing Which has bigger area?

slide-21
SLIDE 21
  • “Compromises” treemap algorithm to avoid bad

aspect ratios

  • Basic algorithm (divide and conquer) with some

hand tweaking

– Creates a more fully 2-dimensional layout by employing

both vertical and horizontal partitions at each level of hierarchy

  • Takes advantage of shallow hierarchy
slide-22
SLIDE 22
slide-23
SLIDE 23
slide-24
SLIDE 24
  • http://finviz.com/map.ashx?t=sec
slide-25
SLIDE 25
  • Alternate approach, similar results

[Bruls et al., 2000]

slide-26
SLIDE 26
  • Aspect-ratios

approach 1 as close as possible?

  • NP-hard
  • A greedy method

The order in which the rectangles are processed is important

slide-27
SLIDE 27
  • Goal: create a layout in which items that are next

to each other in the input to the algorithm are adjacent in the treemap.

  • Inspired by Q-sort

– Pivot

slide-28
SLIDE 28
  • Input

– Rectangle, R, to be subdivided – List of items with area, L1 ··· Ln

  • Output

– List of rectangles, R1 ··· Rn

slide-29
SLIDE 29
  • Step 1: If the number of items is <= 4, lay them
  • ut in either a pivot, quad, or snake layout.
  • What if not?
slide-30
SLIDE 30
  • Step 2: Let P, the pivot, be the item with the

largest area in the list of items.

  • Step 3: If the width of total area R >= height,

divide R into four rectangles, R1 , RP , R2 , and R3 (If height > width, flipped)

slide-31
SLIDE 31
  • Step 4: Divide the items in the list

– L1: index is less than P – L2: index less than those in L3 – L3: others – Goal: the aspect ratio of RP is as close to 1 as possible

  • Step 5: Put P in the rectangle RP
  • Step 6: Recursively lay out L1, L2, and L3

P L1 L3 L2

slide-32
SLIDE 32
  • Processing input rectangles in order, and laying

them out in horizontal (or vertical) strips of varying thicknesses

slide-33
SLIDE 33
  • Step 1

– Create a new empty strip (the current strip)

  • Step 2

– Add the next rectangle to the current strip – Recomputing the height of the strip – Recomputing the width of each rectangle

  • Step 3

– If the average aspect ratio increased, remove the rectangle, push it

back, and go to Step 1

  • Step 4

– If all rectangles have been processed, stop – Else, go to step 2

slide-34
SLIDE 34
slide-35
SLIDE 35
  • Regular borderless treemap makes it challenging

to discern structure of hierarchy, particularly large

  • nes

– Supplement treemap view – Change rectangles to other forms

slide-36
SLIDE 36
  • Add shading and texture to help convey structure
  • f hierarchy

[Wijk et al., 1999]

slide-37
SLIDE 37
  • https://www.treemap.com/datasets/uselections/?

goback=.gde_80552_member_184123140

slide-38
SLIDE 38
  • Node-link diagrams or space-filling techniques?
  • It depends on the properties of the data

– Node-link typically better at exposing structure of

information structure

– Space-filling good for focusing on one or two additional

variables of cases

slide-39
SLIDE 39
  • Survey website

– http://vcg.informatik.unirostock.de/~hs162/treeposter/

poster.html

– http://www.cs.umd.edu/hcil/treemap/

slide-40
SLIDE 40
  • Plaisant, Catherine, Jesse Grosjean, and Benjamin B. Bederson.

"Spacetree: Supporting exploration in large node link tree, design evolution and empirical evaluation." Information Visualization, pages 57-64, 2002.

  • G. Robertson, S. Card, and J. Mackinlay, "Information Visualization

Using 3D Interactive Animation", Communications of the ACM, vol. 36, no. 4, Apr. 1993, pp. 57-71.

  • Johnson, Brian, and Ben Shneiderman. "Tree-maps: A space-filling

approach to the visualization of hierarchical information structures." Visualization, 1991. Visualization'91, Proceedings., IEEE Conference on. IEEE, 1991.

  • D.M. Bruls, C. Huizing and J.J. van Wijk, "Squarified Treemaps",

Proceedings of EuroGraphics 2000, pp. 33-42.

slide-41
SLIDE 41
  • Balzer, Michael, Oliver Deussen, and Claus Lewerentz. "Voronoi

treemaps for the visualization of software metrics." Proceedings of the 2005 ACM symposium on Software visualization. ACM, 2005.

  • Jarke van Wijk and Huub van de Wetering, "Cushion Treemaps:

Visualization of Hierarchical Information", Proceedings of the '99 IEEE Symposium on Information Visualization, pp. 73-78, Nov. 1999.

  • Christoph Csallner, Marcus Handte, Othmar Lehmann, and John

Stasko, "FundExplorer: Supporting the Diversification of Mutual Fund Portfolios using Context Treemaps", Proceedings of IEEE 2003 Symposium on Information Visualization, Seattle, WA, Oct. 2003, pp. 203-208.

  • Shneiderman, Ben, and Martin Wattenberg. "Ordered treemap

layouts." Proceedings of the IEEE Symposium on Information Visualization 2001. Vol. 73078. 200