Docsity

Focus and Context - Information Visualization - Slides | CS 7450, Papers of Computer Science

Partial preview of the text

Download Focus and Context - Information Visualization - Slides | CS 7450 and more Papers Computer Science in PDF only on Docsity!

Focus + Context

CS 7450 - Information Visualization

February 28, 2006

John Stasko

Fundamental Problem

• Scale - Many data sets are too large to

visualize on one screen

− May simply be too many cases

− May be too many variables

− May only be able to highlight particular cases

or particular variables, but viewer’s focus may

change from time to time

Spring 2006 CS 7450 3

Challenge

• Have context/overview seamlessly and

smoothly co-exist with focus/detail

• Why?

− Easier to move between the two, helps

assimilate view updates, less jarring, …

• Not all overview and detail techniques are

good at this

Focus + Context Views

• Same idea as overview and detail, with

one key difference:

− Typically, the overview and the detail are

combined into a single display

− Mimics our natural vision systems more

closely

Spring 2006 CS 7450 7

Prototypical Example

• When people think about focus+context

views, they typically think of theFisheye

View (distortion)

• Introduced by George Furnas in 1981

report, more famous article is 1986

SIGCHI paper

Fisheye of Source Code

Furnas

CHI ‘

Spring 2006 CS 7450 9

Definition

• Fisheye View -

“Provide[s] detailed views (focus) and

overviews (context) without obscuring

anything…The focus area (or areas) is

magnified to show detail, while preserving the

context, all in a single display.”

-(Shneiderman,DTUI, 1998)

Example

(Not really

a good one.

Can you see

why?

---just a

Photoshop

trick---)

Spring 2006 CS 7450 13

Why is it called Fisheye?

• Fisheye Camera Lens

Atlanta Journal

Real fisheye

camera lens

Spring 2006 CS 7450 15

Fisheye Terminology

• Focal point

• Level of detail

• Distance from focus

• Degree of interest function

Can someone explain?

Focal Point

• Assume that viewers focus is on some

item, some coordinate, some position,...

Focal point

Spring 2006 CS 7450 19

Degree of Interest Function

• Function that determines how items in

display are rendered

Focal point

  • Degree of Interest = Level of Detail - Distance from Focus Level of Detail / Distance from Focus

DoI Function

• Can take on various forms

− Continuous - Smooth interpolation away from

focus

− Filtering - Past a certain point, objects

disappear

− Step - Levels or regions dictating rendering

0<x<.3 all same, .3<x<.6 all same

− Semantic changes - Objects change rendering

at different levels

Spring 2006 CS 7450 21

Applications

Text/program

viewing

Furnas’ original

example

Shown here are

examples from

Gutwin and

Greenberg

Step function

Applications

Shared text editor

for CSCW

Gutwin and Greenberg,

HCI ‘

Spring 2006 CS 7450 25

The Problem

• Menus have too many items

• Especially a menu of data items (fonts)

• Scrolling arrows & bars

• Hierarchical groups

Existing Options

Spring 2006 CS 7450 27

Fisheye Menus

• Dynamically change size of menu item

& provide focus area around the pointer

• Items near cursor displayed at full size

• Items further away on either side are

smaller

• Uses a distortion function so items will

always fill menu

• Efficient mechanism for long menus

Focus Lock

• Problem of small movements resulting

in change in focus

• Focus lock by moving to the right side

of menu

• Focus region is highlighted and pointer

can move up & down selecting within

this area

• Moving above or below the region on

the right increases the area of the

region

• Controls the trade-off between number

of items at full size versus those

rendered smallest

• DEMO

Spring 2006 CS 7450 31

Graphical Fisheye Views

Example

Original

Spring 2006 CS 7450 33

Example

Focal point

Video

Constraining Changes

• Maybe we should limit changes in focus

and context (eg, how context is

represented) to make a more

understandable representation…

Spring 2006 CS 7450 37

  • Network Hierarchy is represented as a set of concentric rectangles
  • Interior Network nodes correspond to the leaf nodes of the hierarchy and are called Clusters
  • User can open and close different nodes, drag nodes around, and increase or decrease the size of nodes using the mouse.
  • When a node gets closed the space freed is allocated to the open nodes
  • Initial size of the Nodes opened are determined by

− Space Available

− Size Required by each node (Minimum Size)

− Degree of Interest value (DOI) of each node

Basic Behavior

Basic Behavior (Cont.)

• DOI is calculated based on

− The node's Previous DOI − Its current state (In or Out of Alarm) − Its Proximity to other High DOI Nodes

  • A nodes proximity to other High DOI nodes results in nodes neighboring interesting nodes getting more display space than nodes farther away from interesting nodes….this results in a "fish- eye" effect with no distortion.
  • Three versions of this algorithm were implemented, the Global Continuous Zoom, the Local Continuous Zoom and the Hybrid Continuous Zoom
  • Video Demonstration

Spring 2006 CS 7450 39

Basic Algorithm

  1. Compute the Required X and Y for each rectangle, do it recursively for All clusters
  2. Compute Scale factors based on required X and Y Values
  3. Normalize the factors so that it fits to screen and apply scale factors to the nodes.
  4. Check to see if any node is 95% or more than the size of its parent, if not propagate the algorithm to the next higher level. If any node is smaller than 10 pixels then stop resizing.
  5. Reposition the nodes according to their center points

Slide 5 - DOI Algorithm

• Needed because

− Better use of space − Make the nodes open in a more dynamic order of magnification than a predetermined order − Give user and idea of relative importance of each open node

• Algorithm

− node/representation requests are sorted in descending order of DOI.

(The DOI of a parent is the maximum of its children’s DOIs). Minimum

space required is calculated assuming that all leaf nodes are in the

closed state. Compute the size of all nodes assuming minimum space

requirement; subtract from real requirement to get free space

available; Compute scale factor of each node taking into account its

DOI; Add free space to each node to get new scale factor weighted

with DOI