In this article
Frequency Table widget displays response distribution and statistics, with options for individual or grouped answers. Use CDL code to customize.
The Frequency Table widget displays the distribution of responses across answer options, either as individual responses or within groups and grids. For numeric variables, it provides a clear view of important statistics such as the average, errors, and standard deviations.
widget frequencyTable {
label: "Single"
size: large
variable: survey:age
banner {
header{
variable: survey:gender
}
}
}Setting up a Frequency Table Widget Using CDL
The Frequency Table widget currently accommodates three types of questions:
Single.
Numeric.
Multi.
The Frequency Table widget also supports the use of derived variables with the singleChoice type.
Additionally, you can enhance the table with labels and banners.
An example of the code to configure a Frequency Table widget is provided.
config hub
{
hub: 432
table survey = p1027835.response
}
page "Frequency Table" {
widget frequencyTable {
label: "How you like our product"
size: large
variable: survey:q1
banner {
header {
variable: survey:q9
}
header {
collapsed: false
variable: survey:ALERTSQUALIFIED
}
}
}
}