This article describes how to go from crosstabbed data containing at least one numeric or date variable for the rows:
To a state where you have a type of stacked area chart called a streamgraph, where it is modified so that the streams are centered around the y-axis:
Requirements
You will need to have one of the following:
- A crosstabbed table that has a numeric or date/time variable set as the rows, or
- Variables, including at least one numeric or date/time variable, that are suitable for crosstabbing
Method
- With the table selected from the object inspector
, go to Visualization > Time Series > Stream.
Alternatively, you can use another data source method:
From the toolbar, go to Visualization > Time Series > Stream. Click onto the page to place the visualization, and then use one of these two methods:
- From Data > Data Source > Variables in the object inspector
, select your date or numeric variable from the Data Sources tree, which will be used for the x-axis. Under Groups, select your second variable, which will be used as the y coordinates of the series on the streamgraph.
- From the object inspector
, click Data > Data Source > Data and select an input table.