spss_graph_bar
Create bar charts from SPSS data files. Choose simple, grouped, or stacked bars, and plot counts or aggregate statistics like mean or sum.
Instructions
Bar chart: GRAPH /BAR(SIMPLE|GROUPED|STACKED)=COUNT or STAT(var) BY catvar. statistic: COUNT (default), MEAN, SUM, or other SPSS aggregate function. Requires IBM SPSS Statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | SIMPLE | |
| title | No | ||
| variable | Yes | ||
| file_path | Yes | ||
| statistic | No | COUNT | |
| by_variable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |