This article describes how to create a clustered bar chart from an existing table like this:
To a chart like this:
Requirements
At least one of the following:
- A table with at least two columns and one row.
- Two variables.
Method 1 - via the visualization menu
- Select Visualization > Bar > Bar.
- Click on the page where you'd like to place the visualization.
- Under Inputs > DATA SOURCE > Output in 'Pages' select the table that you want to base the chart on. Alternatively, in Inputs > DATA SOURCE > Variables in 'Data', select that data that you would like to be in the rows.
- OPTIONAL: If using Variables in 'Data' in Step 3, select the secondary variable to use as your cluster in Inputs > DATA SOURCE > Groups.
- OPTIONAL: Under Chart make additional adjustments to change the appearance of the visualization.
- Click Calculate and/or ensure that Automatic is checked.
Method 2 - using an existing table
- Select the table.
- From the object inspector, go to Visualization > Bar > Bar.
- OPTIONAL: Under Chart make additional adjustments to change the appearance of the visualization.
- Click Calculate and/or ensure that Automatic is checked.
Note
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.
How to Create a Bar Chart from a Table
How to Create a Stacked Bar Chart
How to Create Several Bar Charts Using Small Multiples
How to Customize the Color of a Single Category in a Bar, Column, or Pyramid Visualization
How to Apply a Gradient Palette to a Bar, Column, or Pyramid Visualization
Comments
0 comments
Article is closed for comments.