Creating a Map showing age group data using graphics

This example describes how to show a ratings scale by age, with the age data conveyed in the graphic, and the satisfaction statistics displayed by color.

It uses the questions available in the Crocodile Rock Cafe survey.

Adding graphics to represent each age group

  1. Create an image representing the different age groups used to classify respondents.
Graphic showing available age ranges

In the Crocodile survey, these are:

Under 18

18 – 24

25 – 34

35 – 44

45 – 54

Over 55

  1. Ensure that you have enough space to display the analysis data on the image. The size of the image will be the size of your Map.
  2. Save the image file in a known place (eg styles/map/age_pic.gif)
  3. Click AnalysisTblIcon.png to define the analysis.
    • Enter Q9 (age) in the Analysis field.
    • Select Means and Significances in the drop-down list. Enter Q6a (speed of service satisfaction rating) in the field for the variable for which the mean is calculated. (If you wished to score the mean, you would enter the score in the field after the variable name, e.g. q6.a score5).
  4. Click OK to save the table. Keep the window open for reference while creating your Map.
  5. Select the table in the Analyses window and click Clone button on the toolbar to duplicate the analysis.
  6. Select Map in the Type list.
  7. Select <Create new style> from the dropdown list of styles. The Map Control Editor opens.
  8. Select File|Import image and browse for the image you have created.
  9. Click IM: square button to select the square tool, and draw a square under one of your figures.
Map editor for analysis showing age figures
  1. Use Copy and Paste to duplicate the square until there is one under each figure.
  2. Select each square in turn and select Shape|Assign to code. Select the appropriate code for the figure. (You can also right-click the shape and assign codes from the context menu.)
Assigning code to an age code image

As you assign codes, the analysis data will automatically be calculated and used to fill the square.

Assigning RGB colors and legends for the least and most satisfied age groups

  1. Click IM: Fill button to open the Map Control Editor Fill series dialog.
Set the shading for the map control
  1. Select RGB as the color model. This means that intermediate colors will be calculated as if you were moving round the colors in a rainbow.
  2. Select Continuous as the Data Mode. This means that every value will be assigned a color according to its data value.
  3. Click the color buttons to assign colors to represent the maximum and minimum values.
  4. Select Legend in the left-hand pane.
Set the location of the labels in a map control
  1. Check the Visible box to display the Legend, and select one of the radio buttons to position it.
  2. Click the Labels tab.
  3. You will have the same number of labels fields as colors listed in the Shading window. By default the text for each color is the value it represents. Add some text to identify what the Map is displaying.
Set the labels for a map control
  1. Click OK.
  2. When you have finished defining the Map, select File|Save map control and save your Map as an .isf file.
  3. Click OK to display the completed Map analysis.