This article describes how to create a repeated icon pictograph like the below from a single numeric value:
Requirements
- All that is required is a numeric value. This can come from a variety of inputs including a:
- Pasted value
- R Calculation
- Table
- Numeric Variable
Method
In the example I will use a pasted value of 65 to create the repeated icon above, but more input options are available as described further below.
- From the toolbar, click Visualization > Pictographs > Repeated Icon and draw the placeholder on the page.
- From the object inspector, under Data > Data Source > Data source select Type or paste value. Other options here will allow you to select values from other objects in your document, e.g. tables or variables (as described below).
- In Input data enter the value 65.
- In the Chart menu you have options to further customize the icons and visualization. To choose the heart icon choose Chart > Icons > Icon > Heart.
- In this example, I want to make each icon represent 1 unit (so there will be 65 icons in total) so I set Scale > 1.
- Layout constrained by lets you configure how the repeated icons are arranged. For my example we will select Number of rows.
- Set Number of rows > 5 (for five rows of icons).
- The Chart > Fill Color section lets you set the color or conditional colors for the chart. In this example, we set the color > Red.
To use a Table or Existing R Output as the input
- Under Data > Data Source > Data source select Table or Use an existing R output.
- For Input data either select from the list or click on it to insert its name.
- Now you can set the Select rows/columns to show by fields to be on a static number/label you type or Choosing from a Combo box or List box control.
- In the Row and Column fields you'll either type in your value or select the control you want to connect to do the selection on the table.
To use a Variable
- Under Data > Data Source > Data source select one of Variable - Average, Variable - Sum, Variable - Percentage.
- For Input data either select from the list or click on it to insert its name.
- If you selected Variable - Percentage, the Category field will appear for you to select the category in the variable you want to use in the numerator.
Next
How to Create a Single Icon Pictograph
How to Create a Repeated Icon Pictograph Showing Proportions