Chapter 6. Using the Scatter Visualizer

This chapter discusses the features and capabilities of the Scatter Visualizer. It provides an overview of this database visualization tool, then explains the Scatter Visualizer's functionality when working with the

Finally, it lists and describes the sample files provided for this tool.

Overview of Scatter Visualizer

The Scatter Visualizer lets you visually analyze relationships among several variables (see Figure 6-1), either statically or by animation. This analysis is done using

  • a three-dimensional landscape

  • an animation control panel that includes a two-dimensional slider

  • graphical objects, called entities, that can be animated in the three-dimensional landscape

    Figure 6-1. Sample Scatter Visualizer Screen


The Scatter Visualizer lets you visualize your data by mapping each record, or row, in the dataset to an entity in the three-dimensional landscape. Variables in the data can be mapped to the sizes, colors, and positions of the entities. Also, you can map one or two numeric variables to the sliders in the animation control panel. If the variables mapped to sizes, colors, or positions of the entities depend on the variables mapped to sliders, the sliders can be used to drive an animation. For example, if the data represents the sales of several companies over time. If the time variable is mapped to a slider and the sales variable is mapped to size, then the entities grow or shrink as the time slider is animated.

After you create a visualization of your data, the Scatter Visualizer lets you analyze the data in various ways. The animation control panel lets you trace animation paths in one or two dimensions. By playing back the path you created, you can watch the size, color, and motion of the entities for trends or anomalies. In the three-dimensional landscape, you can orient the display to emphasize particular dimensions or a point of view. The Scatter Visualizer lets you scale the values of variables to give them greater emphasis. Also, you can filter the display to show only those entities meeting certain criteria.

File Requirements

The Scatter Visualizer requires the following files:

  • A data file, consisting of rows of tab-separated fields. This file is easily created using the Tool Manager (see Chapter 3). If you are generating this file yourself, see Appendix C, “Creating Data and Configuration Files for the Scatter Visualizer” for the required file format.

    You can generate data files by extracting data from a source (such as a database) and formatting it specifically for use by the Scatter Visualizer. Data files have user-defined extensions (the sample files provided with the Scatter Visualizer have a .data extension).

  • A configuration file, describing the format of the input data and how it is to be displayed. The Tool Manager can create this file (see Chapter 3), or you can use an editor (such as jot, vi, or Emacs) to produce this file yourself (see Appendix C, “Creating Data and Configuration Files for the Scatter Visualizer”).

    Configuration files must have a .scatterviz extension. When starting the Scatter Visualizer, or when opening a file, you must specify the configuration file, not the data file.

Starting the Scatter Visualizer

There are five ways to start the Scatter Visualizer:

  • Use the Tool Manager to configure and start the Scatter Visualizer. (See Chapter 3 for details on most of the Tool Manager's functionality, which is common to all MineSet tools; see “Configuring the Scatter Visualizer Using the Tool Manager” for details about using the Tool Manager in conjunction with the Scatter Visualizer.)

  • Double-click the Scatter Visualizer icon, which is in the MineSet page of the icon catalog. The icon is labeled scatterviz. Since no configuration file is specified, the start-up screen requires you to select one by using File > Open.

    Figure 6-2. Scatter Visualizer Start-Up Screen With File Pulldown Menu Selected


    Starting the Scatter Visualizer without specifying a configuration file causes the main window to show the copyright notice and license agreement for this tool. Only the File and Help pulldown menus can be used. For the main window to be fully functional, open a configuration file by selecting File > Open (Figure 6-2).

  • If you know what configuration file you want to use, double-click the icon for that configuration file. This starts the Scatter Visualizer and automatically loads the configuration file you specified. This works only if the configuration filename ends in .scatterviz (which is always the case for configuration files created for the Scatter Visualizer via the Tool Manager).

  • Drag the configuration file icon onto the Scatter Visualizer icon. This starts the Scatter Visualizer and automatically loads the configuration file you specified. This works even if the configuration filename does not end in .scatterviz.

  • Start the Scatter Visualizer from the UNIX shell command line by entering this command at the prompt:

    scatterviz [ configFile ]
    

    configFile is optional and specifies the name of the configuration file to use. If you don't specify a configuration file, you must use File > Open to specify one (see Figure 6-2).

Configuring the Scatter Visualizer Using the Tool Manager

This section describes how the Scatter Visualizer can be configured using the Tool Manager. Although the Tool Manager greatly simplifies the task of configuring the Scatter Visualizer, you can construct a configuration file manually for this tool using a text editor (see Appendix C, “Creating Data and Configuration Files for the Scatter Visualizer”).

Note that the steps required to connect to a data source are described in Chapter 3.

Selecting the Scatter Visualizer Tool

Select the Viz Tools tab in the Data Destination panel of the Tool Manager's main screen (Figure 6-3). From the popup list of tools, select Scatter Visualizer. The mapping requirements for the Scatter Visualizer are displayed in the window on the right side of this panel. Items in the Visual Elements list that are preceded by an asterisk are optional.

Figure 6-3. Data Destination Panel With Scatter Visualizer Selected


  • Axis 1—This lets you assign to the first axis in the Scatter Visualizer's main window the data you want represented. Assigning data to this axis is required. However, this alone does not produce a useful display. By assigning data to Axis 2, you can create an XY chart. Assigning data to all three axes produces a 3D chart.

  • Entity—This mapping is a placeholder that is currently not in use. It does not affect the display. You can also map columns to the size, color, and labels of the entities.

  • Summary—This is the value mapped to the summary column, if you have a slider. It determines the color of the slider's background.

Mapping Requirements to Columns

You can map requirements to columns by selecting a column name in the Current Columns window of the Table Processing panel, then selecting a category in the Visual Elements window.

Undoing Mappings

To undo a specific mapping, select that mapping in the Requirements window, then click the Clear Selected button. To undo all mappings, click the Clear All button.

Specifying Tool Options

Clicking the Tool Options button causes a new dialog box to be displayed (Figure 6-4). This lets you change some of the Scatter Visualizer options from their default values.

Figure 6-4. Scatter Visualizer's Options Dialog Box


The Scatter Visualizer's Options dialog box has four basic options blocks:

  • Entities

  • Axes

  • Summary

  • Other

Entity Options

This option lets you specify a number of characteristics for the entities that the Scatter Visualizer then graphically displays.

  • Entity Legend On—Lets you determine whether the entity legend is displayed or hidden.

  • Entity Size—Lets you scale the entity to a max size, a scale size, or a default (no adjustment). You also can specify whether the legend for entity size is displayed or hidden.

  • Entity Shape—Lets you choose a visual representation for the entities: cubes, bars, or diamonds.

  • Entity Colors—Lets you control the colors in which entities are displayed. You can

    • specify the list of colors to use

    • specify the kind of mapping

    • map the list of colors to a list of values

    • specify whether the legend for color is displayed or hidden

    • map colors to entities

To use these Colors options, you must have mapped a column to the *Entity-color requirement of the Data Destination panel. See “Color Options for the MineSet Visualizers” in Chapter 3 for a more detailed explanation of how to choose and change colors.

Color list to use—You can specify the color list using the + button next to the color list label. This brings up a color editor that lets you specify a color to be added to the list.

Color mapping—You can specify whether the color change that is shown in the graphic display is Continuous or Discrete. If you choose Continuous (see ), the color values shift gradually between the colors entered in the Color list to use field as a function of the values that are mapped to those colors in the Color mapping field. describes the discrete function.

The field to the right of the popup button lets you enter specific values for mapping the colors. If you do not specify any mapping values, the range of values in the color variable is used.

Example 1:

If you

  • used the Color Browser to apply red and green to bars

  • selected Continuous for the Kind of mapping

  • entered the values 0 100

then the display shows all entities with values less than or equal to 0 as completely red, those as greater than or equal to 100 as completely green, and those between 0 and 100 as shadings from red to green.

Example 2:

If you

  • used the Color Browser to apply red and green to entities

  • selected Discrete for the Kind of mapping

  • entered the values 0 50

then the display shows all entities with values of less than 50 in red, and all those with values greater than or equal to 50 in green.

Entity Label Color—You can modify a label color by clicking on it. This causes the Color Choose dialog box to appear, which lets you implement your color changes.

Summary Options

Summary options let you specify what color to use for the Summary window. You can also specify whether the summary legend, which indicates what the values are, is displayed or hidden.

If you have an array of values, you can specify an X or Y slider. The popup buttons next to these options provide a list of available keys, and let you specify which to use as sliders.

Axis Options

The Axis options let you specify the following, for each axis:

  • A label. (If you leave this box blank, the Scatter Visualizer defaults to using the column names for each axis.)

  • A size type for each axis. (This can be Max Size, Scale Size, or No Adjustment.)

  • A size value.

  • Whether the axis should be extended to include the value 0.

Other Options

The Other Options, at the bottom of the dialog box, include the following fields:

  • Message—Lets you specify the message displayed when an entity is selected. For a listing and description of format types that can be entered in this field, see the “Message Statement” section in Appendix C, “Creating Data and Configuration Files for the Scatter Visualizer.”

  • Entity Label Size—Controls the size of the entity labels. A smaller number decreases the size, a larger one increases it.

  • Hide Label Distance—Controls the distance at which entity labels become invisible. Smaller distances might improve performance, but the labels disappear more quickly. The higher the number, the greater the distance at which labels are hidden.

  • Axis Label Size—This controls the size of the axis labels. A smaller number decreases the size, a larger one increases it.

  • Grid Color— Lets you modify a grid color by clicking on it. This causes the Color Choose dialog box to appear, which lets you implement your color changes.

  • Grid (X, Y, Z) Size—Lets you specify the spacing between grid lines for the respective axis. A smaller number decreases the size, a larger one increases it.

Resetting the Tool Options

If you want to reset the values of all options to their default values, click the Reset Options button.

Saving the New Tool Options

Once you have finished making changes to the Tool Options dialog box, click OK to return the Tool Manager's main screen.

To have these changes take effect, you must save the configuration file again by clicking the Save Config File button, described below. Note that if you give the name of a previously saved configuration file, the new file overwrites the saved file. After you have saved your new configuration file, click the Invoke Tool button again to see the results of your changes.

Saving Scatter Visualizer Settings

The Tool Manager stores information for the Scatter Visualizer in several files, all sharing the same prefix:

  • <prefix>.scatterviz.data contains data.

  • <prefix>.scatterviz.schema describes the data file.

  • <prefix>.scatterviz contains information needed by the Scatter Visualizer.

  • <prefix>.mineset contains all the information needed to create the other files.

To specify a prefix, use the Save... button in the lower right of the Viz Tools panel, or the Save... menu option in the File menu. If you do not specify a prefix, the default untitled is used.

When you use the Invoke Tool button, the .data, .schema, and .scatterviz files are updated, if necessary.

Invoking Scatter Visualizer

To see Scatter Visualizer graphically represent your data, click the Invoke Tool button at the bottom of the Data Destination panel.

Null Handling in the Scatter Visualizer

The Scatter Visualizer uses special representations when fields with unknown data values, or nulls, are mapped to visual attributes. (For a discussion of null values, see Appendix G, “Nulls in MineSet.”) When a null value is mapped to an entity's size, the entity is drawn as the outline of a cube. When a null value is mapped to an entity's color, it is drawn in dark grey. When a null value is displayed in the Selection Window or “Pointer is Over” area, it is shown as a question mark (?). (The Selection Window and “Pointer is Over” areas are discussed in the “Select Mode” section.)

If a null value is mapped to the x, y, or z position of an entity, the result depends on the Show Entities with Null Positions option under the View Menu (see “The View Menu”). If the option is set, the entity is shown below the range of the corresponding axis. If the option is not set, the entity is not shown.

Working in the Scatter Visualizer's Main Window

If you started the Scatter Visualizer without specifying a configuration file, the main window shows the copyright notice and license agreement for the Scatter Visualizer. Only the File and Help pulldown menus can be used. For the main window to show all menus and controls, open a configuration file. Use File > Open (Figure 6-2) to see a list of configuration files.

When a valid configuration file has been selected, the 3D landscape it specifies is visible. For example, selecting company.scatterviz gives results as shown in Figure 6-5.

Figure 6-5. Initial View When Specifying company.scatterviz


This shows the sales of life insurance, auto insurance, and home insurance with respect to income brackets over time.

Viewing Modes

The two modes of viewing are grasp and select. To toggle between these modes, press the Esc key or click the appropriate cursor button adjacent to the top-right of the viewing area. (These and the rest of the buttons are described later in this chapter.)

Grasp Mode

In grasp mode, the cursor appears as a hand. This mode supports panning, rotating, and scaling the scene's size in the main window.

  • To pan the display, press the middle mouse button and drag it in the direction you want the display panned.

  • To rotate the display, press the left mouse button and move the mouse in the direction you want to rotate. (Also see the thumbwheel controls Rotx and Roty, described in “Thumbwheels”.)

  • To move the viewpoint forward, press the left and middle mouse buttons simultaneously and move the mouse downwards. To move the viewpoint backward, press the left and middle mouse buttons simultaneously and move the mouse upwards. This is equivalent to the functions provided by the Dolly thumbwheel.

Select Mode

In select mode, you can highlight an object by positioning the cursor over that object. Information about that object then appears at the top of the view area, under the “Pointer is over:” label (Figure 6-6). This information remains visible in the window only as long as the pointer cursor remains over the object. If you position the pointer cursor over an object and click the left mouse button, that same information appears in the Selection Window, which is above the main window, under the “Selection” label.

This Selection information remains visible until another object is selected, or you click the black background. Using the mouse, you can cut and paste this selection information into other applications, such as reports or databases.

Figure 6-6. Cursor Over an Object


The information is displayed when the cursor is over the object.

External Controls

Several external controls surround the main window, including buttons and thumbwheels. This section describes each type of control.

Buttons

At the top right of the image area are 11 buttons (see Figure 6-7).

Figure 6-7. Detail View of Top Right Buttons


  • Arrow puts you in select mode, which lets you highlight entities in the main window. When in this mode, the cursor shape is an arrow.

  • Hand puts you in grasp mode, which lets you rotate, zoom, and pan the display in the main window. When in this mode, the cursor shape is a hand.

  • Viewer help brings up a help window describing the viewer itself.

  • Home takes you to a designated location. Initially, this is the first viewpoint shown after invoking the Scatter Visualizer and specifying a configuration file. If you have been working with the Scatter Visualizer and have clicked the Set Home button, then clicking Home returns you to the viewpoint that was current when you last clicked Set Home.

  • Set Home makes your current location the Home location. Clicking the Home button returns you to the last location where you clicked Set Home.

  • View All lets you view the entire graphic display, without changing the angle of view you had before clicking on this option. To get an overhead view of the scene, rotate the camera so that you are looking directly down on the entities, then click the View All button.

  • Seek takes you to the point or object you click after selecting this button.

  • Perspective is a toggle button that lets you view the scene in 3D perspective (closer objects appear larger, farther object appear smaller). Clicking this button again turns 3D perspective off.

  • Top View lets you view the scene from the top.

  • Front View lets you view the scene from the front.

  • Right View lets you view the scene from the right side.

Thumbwheels

Three thumbwheels appear around the lower part of the main window border (see Figure 6-8). They let you dynamically move the viewpoint.

Figure 6-8. View of Lower Half of Window With Thumbwheels


  • The vertical thumbwheel Rotx (rotate about the x axis), on the left, rotates the display up and down.

  • The horizontal thumbwheel Roty (rotate about the y axis), at the bottom left, rotates the scene in the main window around its centerpoint left and right.

  • The vertical thumbwheel Dolly, on the right, moves the viewpoint forward and backward. Note that as you use the Dolly thumbwheel to magnify the scene in the main window, additional detail can appear. If Perspective is off, the Dolly thumbwheel becomes the Zoom thumbwheel.

The Animation Control Panel

The animation control panel, which appears to the right of the main window, consists of a summary window, with up to two adjacent sliders, an information field, animation buttons, and animation sliders.

Sliders Controlling Independent Dimensions

The number of sliders appearing adjacent to the summary window is dependent on the dataset displayed in the Scatter Visualizer's main window. Datasets can have two, one, or no independent dimensions.

Datasets With Two Independent Dimensions

If the dataset has two dimensions of independently varying data (such as company.scatterviz), the controls to the right of the main graphics window become visible (see Figure 6-9).

Figure 6-9. Animation Control Panel With Summary Window and Both Slider Controls


To the right of the main window are the 2D summary window and slider controls. The summary window has a horizontal slider below it for selecting data points of the first independent dimension, and a vertical slider to the left for selecting data points of the second independent dimension. The horizontal slider's dimension is identified by a label below it. The vertical slider's dimension is identified by a label above it.

Datasets with One Independent Dimension

For datasets with one independent dimension (such as store-type.scatterviz), only the slider below the summary window appears, and the summary window is compressed (see Figure 6-10). This slider's dimension is identified by a label below it.

Figure 6-10. Animation Control Panel With Summary Window and One Slider Control


Datasets With No Independent Dimension

For datasets with no independent dimensions (such as brand.scatterviz), no slider control appears (see Figure 6-11).

Figure 6-11. Scatter Visualizer Without Independent Dimension or An Animation Control Panel


The Summary Window

The summary window provides a 2D representation of the aggregation of values that the main window displays in 3D. The whiter the areas of the summary window, the lower the total values represented by the entities in the main window. The greater the color density in areas of the summary window, the higher the total of those values. The density of these colors in the summary window provides a summary of the data across the one or two independent dimensions in the dataset.

By default, the summary window also contains a set of black dots, evenly spaced across the one or two dimensions of data. These dots indicate the precise positions of the discrete datapoints. You can turn off these black dots using the View > Show Data Points menu option.

Color Density Examples in the Summary Window

After opening the company.scatterviz file, for example, the 2D summary window shows a color range from white (on the left) to red (on the right). White corresponds to a low sales volume; red represents a higher aggregate sales volume. In this example, the greater the density of red, the higher the total sales of life, auto, and home insurance.

Creating a Path in the Summary Window

If the dataset loaded into the Scatter Visualizer has at least one independent dimension, it is possible to view all or any part of that dataset via animation. This is done by first creating a path in the summary window (this path connects a sequence of data points), then activating the animation controls described in the next section.

The three ways to draw a path in the summary window are as follows:

  • Define a starting point by clicking and holding down the left mouse button, then draw an arbitrary path by dragging the cursor over the window. End the path by releasing the left mouse button.

  • Define a starting point by clicking the left mouse button, then define an endpoint by moving the cursor to another part of the window and clicking the middle mouse button. A line appears between those two points. To add more line segments, continue with repeated middle mouse clicks.

  • Define a starting point by clicking the left mouse button, then drag one of the independent dimension sliders, thus drawing a straight line along this dimension. If there are two sliders, use of the second slider causes a straight line to be drawn along the axis controlled by this second slider.

Animation Buttons and Sliders

The seven VCR-like buttons and two sliders (Path and Speed) below the 2D summary window let you control the animation.

Animation Buttons

Once a path is drawn in the summary window (see “Creating a Path in the Summary Window,” above), you can use the VCR-like buttons to control animation along this path. The middle Stop button is highlighted in blue, indicating an initial state. Use the adjacent Play Forward button (to the right of Stop) or Play Reverse (to the left) to begin simple movement along the drawn path in a forward or reverse direction. (Forward and Reverse are defined by the sequence that the path was drawn, not by the left-to-right or right-to-left movement.)

To stop and restart the animation, click the Stop button, then use the Play Forward or Reverse button again. Note that when you stop, the animation continues in the current direction until the position falls upon a discrete data point.

Adjacent to the Play buttons are the Single-Step buttons, as well as Forward and Reverse. Clicking on one of these buttons changes the current path position to the next discrete data point.

On the outside are the Fast Forward and Fast Reverse buttons. Clicking one of these buttons while in Stop state changes the path position to the end (for Forward) or to the beginning (for Reverse) of the path. Clicking a Fast button when in Play state increases the animation speed.

Animation Sliders

While animation is stopped, you can move the Path slider to reset the position along the path. Note that when you use the Path slider, the cursor in the summary window moves across the drawn path, and the 1D sliders (below and to the left of the drawing area) move consistently with the cursor position. Then use the Play or Reverse button to restart the animation from the newly specified point. You can drag the Path slider to an arbitrary position between discrete data points; however, when you release the slider, the path position changes to the nearest discrete data point.

Use the Speed slider to adjust the speed of the animation along the path.

Data Points and Interpolation

As animation proceeds, the variables mapped to size, color, and axes (positions) in the Scatter Visualizer changes smoothly. However, the information displayed in the “Selection:” message box and the “Pointer is over:” field show only the data values of the nearest discrete data position; they do not show interpolated data values.

The animation is producedin the following manner: Assume you have data for 10 years, on a per-year basis (that is, 10 data values) and that these correspond to the size of one entity in the Scatter Visualizer. Assume further that the years are 1991 to 2000, the size for 1991 is 20, and the size for 1992 is 40. As you move the year slider from 1991 to 1992, the size changes by being uniformly interpolated between 20 and 40. For example, midway between 1991 and 1992, the size is 30. As you approach 1992, the size approaches 40. However, you cannot stop an animation between discrete data points, and you cannot drag the Path slider to a stationary position between discrete data points.

The data points in the summary window represent the slider positions corresponding to the actual data from the data file. For example, sizes 20 and 40 are representations of actual data, but size 30 is not. In this example, there would be data points in the summary window at the slider positions corresponding to each year.

Note that not all variables are required to vary with a slider. If there are two sliders, some variables can vary with only one of the sliders, while other variables vary with both.

Pulldown Menus

Four pulldown menus let you access additional Scatter Visualizer functions. These are labeled File, View, Filter, and Help. If you start the Scatter Visualizer without specifying a configuration file, only the File and the Help menus are available.

The File Menu

The File menu lets you open a new configuration file, reload the current configuration and data files, and exit the Scatter Visualizer.

The View Menu

The View menu lets you control certain aspects of what is shown in the Scatter Visualizer window. This menu contains three options:

  • Show Window Decoration lets you hide or show the external controls around the main window.

  • Show Entities with Null Positions lets you hide or show entities that have null or unknown position values along one or more axes.

  • Show Animation Panel lets you show or hide the animation control panel. This menu item is disabled for datasets with no independent dimension.

  • Show Data Points lets you show or hide the data points in the summary window. This option is disabled for datasets with no independent dimensions.

The Filter Menu

The Filter menu brings up a filter panel (Figure 6-12) that lets you reduce the number of entities displayed in the main viewing area, based on one or more criteria. You can use the filter panel to fine-tune the display, emphasize specific information, or simply shrink the amount of information displayed. Set Landscape to Filter lets you specify whether the landscape in the main window covers the entire dataset or just the filtered data.

Figure 6-12. Scatter Visualizer Filter Panel


The filter panel has two panes. The top pane lets you filter based on string variables. To select all values of a variable, click Set All. To clear the current selections, click Clear. To select a value, click it. To deselect a value, simply click it again.

The bottom pane lets you filter based on the values of both string and numeric variables. Only variables whose values do not change as you navigate the slider can be used in filtering.

To filter numeric values, enter the value, and select a relational operation (=, !=, >, <, >=, <=). To filter alphanumeric values, enter the string. You can use any of three types of string comparisons:

  • Contains indicates that it contains the appropriate string. For example, California contains the strings Cal and forn.

  • Equals requires the strings to match exactly.

  • Matches allows wildcards:

    • An asterisk (*) represents any number of characters.

    • A question mark (?) represents one character.

    • Square braces ([ ]) enclose a list of characters to match.

    For example, California matches Cal*, Cal?fornia, and Cal[a-z]fornia.

In some cases (usually associated with binning in the Tool Manager), an option menu of values appears, instead of a text field. To ignore that variable, select Ignored in the Option menu. You can use relational operators (such as >=) with these options. This means that the specified value as well as subsequent ones are selected.

In addition to numeric and string comparison operations, you can specify Is Null, which is true if the value is null.

To the right of each field is an additional option menu that lets you specify “And” or “Or” options. For example, you could specify “sales > 20 And < 40.” You can have any number of And or Or clauses for a given variable, but cannot mix And and Or in a single variable.

Click the Filter button to start filtering. If you press Enter while the panel is active, filtering starts automatically.

Click the Close button to close the panel.

The Help Menu

The Help menu provides access to five help functions (see Figure 6-13).

Figure 6-13. Scatter Visualizer Help Menu


  • Click for Help turns the cursor into a question mark. Placing this cursor over an object in the Scatter Visualizer's main window and clicking the mouse causes a help screen to appear; this screen contains information about that object. Closing the help window restores the cursor to its arrow form and deselects the help function. The keyboard shortcut for this function is Shift+F1. (Note that it also is possible to place the arrow cursor over an object and press the F1 function key to access a help screen about that object.)

  • Overview provides a brief summary of the major functions of this tool, including how to open a file and how to interact with the resulting view.

  • Index provides an index of the complete help system. This option is currently disabled.

  • Keys & Shortcuts provides the keyboard shortcuts for all of the Scatter Visualizer's functions that have accelerator keys.

  • Product Information brings up a screen with the version number and copyright notice for the Scatter Visualizer.

  • MineSet User's Guide invokes the Insight viewer with the online version of this manual.

Sample Configuration and Data Files

The provided sample data and configuration files demonstrate the Scatter Visualizer's features and capabilities. The following files are in the /usr/lib/MineSet/scatterviz/examples directory:

  • company.data
    This file contains fictitious sales data of several insurance companies in three product categories: life insurance, auto insurance, and home insurance. The data spans ten years (in increments of one year) and includes five income brackets (the customer's annual income).

  • company.scatterviz
    This file specifies that the years form one slider dimension and the income brackets form the other slider. Sales of life insurance, auto insurance, and home insurance become the three dimensions in the Scatter Visualizer landscape. The color density in the slider summary window represents the total sales of all companies across all categories of insurance.

  • company-total.scatterviz
    This file contains the same specifications as company.scatterviz, except that the size of each company is determined by the total sales of that company across all the categories of insurance.

  • company-life.scatterviz
    This file contains the same specifications as company.scatterviz, except that the color of each object indicates the life insurance sales as a fraction of total sales.

  • store-type.data and store-type.scatterviz
    These files show sales of various product groups by store type during a three-year period. The single independent variable for which a slider appears is time. Each entity represents a store type (such as Food Store, Drug Store, Service Station, and so forth). For each store type, the data file contains the total sales of several product groups, such as alcoholic beverages, cereal, and so forth. The data spans 36 months, in increments of one month.

    The configuration file uses the month as the single slider dimension. One axis is sales of alcoholic beverages, the other is sales of tobacco products. A third axis is not used.


    Note: The data file includes other categories. You can edit the configuration file to use other product categories for the axes (see Appendix C, “Creating Data and Configuration Files for the Scatter Visualizer”).


  • brand.data and brand.scatterviz
    These files show sales of several soft-drink brands in a variety of store types. In this dataset the brands form the entities, and the store types are associated with the axes. The total sales are mapped to the size of each brand. The color mapping is random. Since there are no independent variables, no slider is present.

  • cars.data and cars.scatterviz
    These files show the weight, horsepower, model year, and acceleration of several car models.

  • people.data and people.scatterviz
    These files show the height, weight, density, and cholesterol level of several people.

  • nl.births.data and nl.births.scatterviz
    These files show birth patterns in the Netherlands. For each region, the population density, birth rate, and population are shown. The animation sliders are mapped to the age of the mother and the year.

See /usr/lib/MineSet/scatterviz/examples/README for additional information on the files in that directory.