Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

19
Ordered and Quantum Ordered and Quantum Treemaps: Treemaps: Making effective use of 2D Making effective use of 2D space to display space to display hierarchies hierarchies B. Bederson, B. Shneiderman, M. Wattenberg ACM Trans. On Graphics Oct 2002 Presented by: Neeti Ogale and Rachael Bradley

description

Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies. B. Bederson, B. Shneiderman, M. Wattenberg ACM Trans. On Graphics Oct 2002 Presented by: Neeti Ogale and Rachael Bradley. Treemaps. Space filling technique to visualize hierarchical data. - PowerPoint PPT Presentation

Transcript of Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Page 1: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Ordered and Quantum Treemaps:Ordered and Quantum Treemaps:Making effective use of 2D space to Making effective use of 2D space to

display hierarchiesdisplay hierarchiesB. Bederson, B. Shneiderman, M. Wattenberg

ACM Trans. On Graphics Oct 2002

Presented by: Neeti Ogale and Rachael Bradley

Page 2: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

TreemapsTreemaps Space filling technique to visualize hierarchical Space filling technique to visualize hierarchical

datadata

Page 3: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Issues of concern for treemapsIssues of concern for treemaps

Minimize the aspect ratio of the rectanglesMinimize the aspect ratio of the rectangles Maintain Order in the dataMaintain Order in the data Accommodate changes in the dataAccommodate changes in the data

Page 4: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Original algorithm for TreemapsOriginal algorithm for Treemaps

Slice and Dice Treemap :Slice and Dice Treemap :(Shneiderman, B. 1992).

Preserves orderPreserves order Changes to the data cause Changes to the data cause

continuous changes in the continuous changes in the outputoutput

Aspect ratio of rectangles Aspect ratio of rectangles can be large – so can give can be large – so can give long skinny rectangleslong skinny rectangles

Slice and Dice

Gray shades : Order

Page 5: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Treemaps by the other two Treemaps by the other two algorithmsalgorithms

Cluster Treemap Cluster Treemap ((Wattenberg, M. 99’)

Squarified Treemap Squarified Treemap ((Wijk et al. 2000)

Overall aspect ratio is less – no Overall aspect ratio is less – no

skinny long rectanglesskinny long rectangles Changes to the data cause Changes to the data cause

dramatic discontinuous changesdramatic discontinuous changes Does not maintain orderDoes not maintain order

Cluster Treemap

Squarified Treemap

Page 6: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

DemoDemo

Page 7: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Ordered treemap algorithmOrdered treemap algorithm Inputs: Rectangle R and ordered list of items having specific areasInputs: Rectangle R and ordered list of items having specific areas Recursive algorithm. At each step:Recursive algorithm. At each step: Select a pivot item (P)Select a pivot item (P) Divide the list into 3 parts L1,L2 and L3 and R into four rectangles,

R1, RP,R2, and R3 If the number of items is <= 4, lay them out in either a pivot, quad, or

snake layout, Stop

If width > = height

Page 8: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Selection of PivotSelection of Pivot

Page 9: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Dividing the list LDividing the list L

Divide the items in the list, other than P, into three lists, L1, L2, and L3, such that L1

consist of items whose index is less than P and L2 have items having index less than those in L3, and the aspect ratio of RP is

as close to 1 as possible

Page 10: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Stopping conditionStopping condition

Pivot Quad

Snake

If number of items is <= 4, lay them either in a pivot, quad, or snake layout

Pick the layout whose average aspect ratio is closest to 1.

Page 11: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Strip treemap algorithmStrip treemap algorithm

Rectangles are processed in order and inserted Rectangles are processed in order and inserted in the current strip if doing so does not increase in the current strip if doing so does not increase the average aspect ratio of all the rectangles in the average aspect ratio of all the rectangles in the strip (the strip (O(sqrt(n)) time on average)

Page 12: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Quantum Treemaps Quantum Treemaps To display items of fixed size – Images.To display items of fixed size – Images.

Page 13: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Quantum tree maps algorithmQuantum tree maps algorithm

Rectangles are quantized when they are Rectangles are quantized when they are generated in the following manner – generated in the following manner –

Dimensions are integer multiple of the given Dimensions are integer multiple of the given element size.element size.

Total area is at least equal to the total area Total area is at least equal to the total area of all the elements to be fitted in it.of all the elements to be fitted in it.

Grids of elements are aligned with rows Grids of elements are aligned with rows and columns of elements running across and columns of elements running across the entire series of rectangles.the entire series of rectangles.

Page 14: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

DemoDemo

Page 15: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Experimental ResultsExperimental Results

A tradeoff between low aspect ratios and smooth updates.

The slice-and-dice method - high aspect ratios, but small changes with data updates.

Squarified and Cluster treemaps - low aspect ratios and large changes in layouts.

The ordered and strip treemaps fall in the middle of the spectrum. Aspect ratios better than slice-and-dice method, update more smoothly than cluster or squarified treemaps

100 Monte Carlo trials with 100 steps -simulate continuously100 Monte Carlo trials with 100 steps -simulate continuously changing data.changing data.

Page 16: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Readability studyReadability studyReadability: ease of visually scanning a layoutReadability: ease of visually scanning a layout

Static stock market data.Static stock market data.

Page 17: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Quantum Treemap Analysis: Aspect RatiosQuantum Treemap Analysis: Aspect Ratios

Page 18: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Quantum Treemap Analysis: SpaceQuantum Treemap Analysis: Space

Page 19: Ordered and Quantum Treemaps: Making effective use of 2D space to display hierarchies

Future WorkFuture Work Improve the overall aspect ratio and Improve the overall aspect ratio and optimize the

algorithms used by cluster treemaps and squarified treemaps to improve stability under dynamic updates.

Mixing different algorithms to combine their strengths

Look for a mathematical theorem that makes the tradeoff between the aspect ratio and smoothness of layout changes precise.

Accommodation of trees with millions of nodesAccommodation of trees with millions of nodes

Show more than two attribute values for each leaf node