Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001...

60
Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland

Transcript of Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001...

Page 1: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Trees and Cushions

Jack van WijkEindhoven University of Technology

Treemap Workshop, May 31, 2001

HCIL, University of Maryland

Page 2: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

InfoVis at Eindhoven

Started 1998 Focus:

• Trees and graphs• Large data sets• Use of computer graphics knowledge

(textures, geometry, shading) to generate more effective visualizations

Page 3: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Trees (T) and Cushions (C)

T+C: Cushion treemaps (InfoVis’99) T+C: Squarified treemaps (Vissym’00) C: Voronoi diagrams (Vissym’01) C: Enridged contour maps (Vis’01) T: Botanical vis (InfoVis’01) What next?

Page 4: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Cushion TreemapsVisualization of Hierarchical Information

Jarke J. van Wijk

Huub van de Wetering

Eindhoven University of Technology

IEEE InfoVis’99

Page 5: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Insight in structure of large trees

Why is my disk full? What is our product portfolio? How is this university organized?

Fuzzy questions: Visualization needed

Page 6: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Treemap (Shneiderman, 1992)

A16

B3 C3 D10

E1 F2 G2 H4I4

E1

F2

C3H4

I4

G2

Alternating directions, area represents size

Page 7: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

1400 files

Page 8: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

3060 employees

Page 9: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

How to emphasize structure?

Color? Linewidth? Nesting? Shading?

Use shaded geometric model!

Page 10: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Ridges for more insight

Binary tree

Ridges

Page 11: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Ridge + rotated ridge = cushion

+ =

z = ax + bx + cy + dy + e2 2

Page 12: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Standard treemap

Page 13: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Cushion Treemap

Page 14: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

H = 0.75level

Page 15: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

H = 0.50level

Page 16: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Demo

www.win.tue.nl/sequoiaview

May 21 2001: 45,000 downloads

Page 17: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Squarified Treemaps

Mark Bruls

Kees Huizing

Jarke J. van Wijk

Eindhoven University of Technology

Vissym’00, Amsterdam

Page 18: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

hard to compare sizes hard to point at waste of pixels inaccurate size

Thin rectangles

(small leaves high in hierarchy

e.g., .cshrc)

Page 19: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

How to avoid thin rectangles?

(emphasize structure by other means)

drop the single direction layout

Page 20: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Squarification algorithm

1. Start placing recs in one row

2. stop when aspect ratio stops getting better

3. repeat with remaining area and recs

Recursive per level (just like standard treemap algorithm)

Page 21: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

6

6

6

Squarification algorithm

66

aspect ratio: 8/3 3/2 4/1

6

6

4

9/4

4

9/2

6

64 3

49/27

6

6 4 32

etc.

6

6

4

3

2

2

1

6

6 4 3

2 2 1

25/9

Page 22: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Result of squarification

directory

Page 23: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Squarified organization

Page 24: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Shaded frames for structure

Page 25: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Frames for structure

no maze running for the viewer depth in structure as frame height “remote cousins” are visibly separated by

indent

Page 26: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Organization

Page 27: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Directory structure

Page 28: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Visualization of Generalized Voronoi Diagrams

Alex Telea, Jarke van Wijk

Vissym’01, Ascona

Page 29: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Cushions

Cushions help to understand hierarchical spatial tesselations of the plane

How about cushions to visualize Generalized Voronoi Diagrams?

Page 30: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Generalized Voronoi diagrams

Polygon = area where N seeds are closest

N = 1 N = 2

Page 31: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Cushions and bevels

Page 32: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Cushions, bevels, color

Page 33: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

N= 3 Cushions, bevels, color

Page 34: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Generalized Voronoi Diagrams

Many other types (different distance measures)

Applications

Page 35: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Enridged Contour Maps

Van Wijk & Telea, Vis’01, San Diego

Given: Height field f(x,y) Required:

• Qualitative (where are the ridges) and • Quantitative (how high is this peak) info

Page 36: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Standard visualizations

Page 37: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Enridged height field ...

f(x, y)

height(f(x, y))

linear mapping

non-linear mapping

Page 38: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Height field

Page 39: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Soft, convex ridges

Page 40: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Strong, convex ridges

Page 41: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Soft,concave ridges

Page 42: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Climate (January)

Color: Temperature; Height: Precipitation

Page 43: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Climate (July)

Color: Temperature; Height: Precipitation

Page 44: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Dense contours (equid. in space)

Page 45: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

With ridges...

Page 46: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Hierarchical ridges

Page 47: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Back to Trees:Botanical Visualization of

Huge Hierarchies

Ernst Kleiberg, Huub van de Wetering, Jarke van Wijk

InfoVis’01, San Diego

Page 48: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Idea

Botanical trees are easy to understand, yet contain a lot of branches and leaves

Can we use ideas from botanical modeling for InfoVis?

Page 49: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Strand model (Holton, 1994)

Mimics vascular system Each leaf is connected to one strand Branch = bundle of strands Rules define when a branch is split

First try: Each directory is a branch Each file is a leaf

Page 50: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Naive result...

Page 51: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Three problems

Continuing branches are hard to see Long, thin branches emerge Leaves are messy

Page 52: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Smoothed continuing branches

Page 53: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Contract long branches

Page 54: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Files: Phi-balls (Lintermann,99)

One big file Many small files

Page 55: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.
Page 56: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.
Page 57: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.
Page 58: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.
Page 59: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

Botanical modeling

Compact, natural visualization Phyllotaxis = magic! Many treasures to be discovered Usability? Botanical treemaps?

Page 60: Trees and Cushions Jack van Wijk Eindhoven University of Technology Treemap Workshop, May 31, 2001 HCIL, University of Maryland.

My treemap to-do list

Non-rectangular shapes/subdivisions• circles, polygons?

Multivariate data• color, texture?

Applications• genealogy, data mining?

Evaluation