A Bar Chart with Skews visualizes the NET/SUM column of a table as bars, and displays statistically significant cells from each row of the table (which corresponds to a bar), either as callouts, labels, or tooltips to the right of the bars. When there is insufficient space to fit all callouts or labels, they are truncated and the full callout or label can be viewed as a tooltip.
This article shows how to go from a table like this:
To a visualization where the results are displayed as bars with skews displayed next to the bars:
- A table with exception testing statistical significance (Arrows, Font Colors, or Arrows and Font Colors). For more information about significance testing options, see: How to Apply Significance Testing in Displayr
- The columns of the table need to be categories and not statistics and need to contain a NET or SUM column, which will be plotted as the bars.
Create a crosstab table with significant cells
- Select the variable you would like to place in the rows from the Data Sets tree and drag it onto a page.
- Select the variable that you would like to place in the column from the Data Sets tree and drag it over to the table that was created in Step 1 and place it in the Columns field.
Create the visualization
- From the Visualization menu, select Bar > Bar with Skews. You will see a sign
- Click and drag the sign on your page where you want your visualization inserted
- From the object inspector on the right, use Inputs > DATA SOURCE > Table to select the table you created earlier.
The results are as follows:
Customizing the Visualization
Use the Chart tab in the object inspector to make additional adjustments to change the appearance of the visualization. Click here for a complete list of available options and their defaults.
For example, by default significance results are shown as callout boxes as shown in the example above. If you want to show them as tooltips:
- From the Chart tab in the object inspector, select SIGNIFICANT DIFFERENCES > Show as > Tooltips
- Hover over the symbol to the right of each percentage to view the significance results.
You can also show the significance results as labels:
- From the Chart tab, select SIGNIFICANT DIFFERENCES > Show as > Labels
Important information about editing captions:
Visualization caption edits may not be retained when a visualization with a nested table is switched back to table. Normally, this only occurs when you double-click the caption and edit the text directly. As a workaround, we recommend using Properties > CAPTION > Edit caption to edit your captions.