A pictograph bar chart uses multiple icons to represent the values in each bar. Pictograph bar charts are often used to make data more visually recognizable and interesting!
Creating a Pictograph Bar Chart
A pictograph bar chart can be created by selecting Insert > Visualization > Pictograph > Bar Chart. Similar to other visualizations, we can enter data for this in three different ways. However, unlike a standard bar chart, only one-dimensional tables will be shown.
- Output in 'Pages' - select a table output. If you select a two-dimensional table (e.g. a crosstab between two questions), you can specify a row or column to chart using the options under Row or Column Manipulations.
- Variables in 'Data' - select variables to chart without creating an intermediate table. Displayr will try to automatically summarize the data. For example, if you select a single variable, Displayr will show a table with the count of each value. If you select multiple variables, Displayr will give you a table containing the mean of each variable. There are additional controls under Data manipulations.
- Paste or type data - this opens up a spreadsheet for you to enter data into directly. This is particularly useful for copying data from Excel spreadsheets.
Representing the input data with icons
Options to customize the pictograph bar chart can be found in the Chart tab of the object inspector. The default setting are configured for count data. However, pictograph bar charts can also handle proportional data. In the example below, we set the total icons per bar to 10 and untick the checkbox to hide unfilled icons.
The number of icons filled depends on the input data and the units per icon (scale). For instance, in the soldier example at the top, each icon represents 100 soldiers. By default, the units per icon is set to the largest power of 10 that will give less than 100 icons for each category. This is to avoid problems if the input data has very large values. However, we note that in many cases setting the units per icon to 1 may improve readability.
Icon layout can be customized when the number of icons is large. Setting the maximum icons per row will wrap the icons into multiple rows. In the first pictograph about soldiers, we've set this option to 20. By default, the same amount of space is left for each category. However, the number of injured soldiers is much smaller than the number of dead or missing soldiers. To avoid having extra white space around injured soldier icons, we unticked the checkbox for fixed number of rows per bar.
Icon colors can be set for each category in the input data using color palettes (under Data Series). However, if you want to use custom icons, you'll need to provide url(s) for the images you want.
Category labels for each bar can be customized with options found under Categories (Y) Axis. You can choose to show or hide these labels. You can also control the alignment, font family, font color and font size of the category labels. The position of the category labels (right or left of the icons) is determined by the direction of fill.
Data labels show the values in each bar. You can position them near the category labels (e.g. the the first pictograph about soldiers), or next to the bar (e.g. the second pictograph about tv series ratings), or below/above the icons. You can also add prefixes or suffixes for extra information.
Have fun creating your pictographs! Check out more interesting visualization ideas.