1
Interaction &
Dynamic Queries 2
CS 7450 - Information Visualization February 6, 2003
John Stasko
Spring 2004 CS 7450 2
Dynamic Queries
• A more interactive query operation providing
− Intuitive feel for the data
− Immediate feedback
− Incremental, reversible operations
Review
Spring 2004 CS 7450 3
DQ Sliders
• Potential disadvantages
− Operations are global in scope
− Controls must be fixed in advance
− Operations are conjunctive (each filter is and’ed together)
To see a disjunctive query, you must do each operation sequentially
Movable Filter - Magic Lens
• Allows interaction with more focused region of data
• More direct-manipulation-ish
• Interaction occurs “on top” of data
Fishkin & Stone CHI ‘95
3
Spring 2004 CS 7450 5
Magic Lens
• Arbitrarily-shaped (usually rectangular) region with some operation that changes the user’s view of the data
− Movable
− Stackable
− Augmented by parameters that control the display
Spring 2004 CS 7450 6
In Action
Video
Spring 2004 CS 7450 7
Magic Lens Example
http://www.parc.xerox.com/istl/projects/MagicLenses/
Stacking Filters
Op1 Op2
OR AND
Op1
Op1 Op2
Op2
Op1 OR Op2
Op2 AND Op1
5
Spring 2004 CS 7450 9
Composition
• Manipulating stacks of lenses can be awkward
• Can make a compound lens by abstracting a stack of lenses into one new
composition lens
Spring 2004 CS 7450 10
Magnifying Lens
Median Home Price
Spring 2004 CS 7450 11
Call-out Lens
Decatur Marietta Roswell Smyrna
Median Home Price
Applying Real Values
Decatur Marietta Roswell Smyrna
Median Home Price
160,000
Value of some variable of data can be mapped to 0.0->1.0 and shown visually
7
Spring 2004 CS 7450 13
Other Applications
• What other kinds of things could you do?
Spring 2004 CS 7450 14
Other Applications
• Definition of word
• Details of graphical object
• Particular attributes of data points
• ...
Spring 2004 CS 7450 15
DQ Via Magic Lens
• Advantages?
• Disadvantages?
Advantages
• Liveness
• Flexibility
• Ability to specify complex queries
• Don’t use as much real estate for controls
9
Spring 2004 CS 7450 17
Disadvantages
• More complex than DQ sliders
− Not quite as easy to learn and use
• More difficult to implement
Spring 2004 CS 7450 18
HW3 Update
• Any problems, issues, questions?
• How to submit
Spring 2004 CS 7450 19
Final Project
• Rough idea of topics
• Start forming your groups
• Topics due Feb. 19
Upcoming
• HW3 discussion & design problem
• Time Series Data
• Overview and detail
11
Spring 2004 CS 7450 21
Sources Used
• Fishkin & Stone CHI ‘95 paper
• Xerox PARC Magic Lens website