This article describes how to go from a table containing multiple variables:
To a state where you display the table in a stacked area chart:
Requirements
You will need one of the following:
- A Multiway table. To create a multiway table, select Table
> Multiway from the toolbar. From the object inspector, go to Data and select the Rows, Columns, and Numeric inputs.
- A crosstab.
Method
To convert an existing crosstab or multiway table directly into the stacked area visualization, from the object inspector, click Visualization > Area > Stacked Area.
Otherwise:
- From the toolbar, go to Visualization
> Area > Stacked Area.
- In the object Inspector, you have the following options to provide input data to the area chart. Go to Data > Data Source, and select your input crosstab or multiway table from the Data dropdown, or from the Variables dropdown, select an individual variable from the Data Sources tree. Once an item is selected a second drop-down called Groups will appear in the object inspector. Here you can select a second variable to create a crosstab.
Note
Note that when there are missing values inside the series (i.e., not at the ends of the series) are present, lines are shown along the edge of an Area Chart, with missing segments between points indicating missing values. Stacked Area Charts cannot be plotted with missing values.
UPCOMING WEBINAR: 10 Market Research Predictions Over the Next 4 Years