Dynamic Items
Dynamic items are content items that are computed or collected automatically rather than being created as static pieces of content. These include counters, averages, computed values, and data bins that calculate or aggregate data from participant responses or other sources.
Counter
Section titled “ Counter”Use a Counter result item to display a numeric count or value with customizable styling. Counter displays a numeric value that can count responses, show totals, or display any numeric metric. The value can animate when it changes.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Initial value | Set the starting value for the counter |
| Transition time | Adjust the animation speed when the value changes (in milliseconds) |
Styles
Section titled “Styles”| Setting | What it does |
|---|---|
| Font size | Set the size of the displayed number |
| Font color | Choose the color for the number |
Average
Section titled “ Average”Use an Average result item to display the average (mean) value from numeric responses.
Inputs
Section titled “Inputs”Compatible inputs: Works with numeric answer items and computed values
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Label | Customize the label text (e.g., “Average is”) |
Computed Values
Section titled “ Computed Values”Computed values (also called computed functions or computed items) are dynamic content items that calculate values using JavaScript code. Unlike static content items like text or images, computed values are generated automatically based on answers from participants or other data in your poll or assessment. They are computed/collected rather than created as static pieces of content. Computed values are items associated with modules that calculate a value using custom JavaScript code. They enable you to:
- Perform calculations on participant answers
- Create derived metrics from multiple data sources
- Generate dynamic values that update as participants respond
Types of Computed Values
Section titled “Types of Computed Values”There are several types of computed values used in different contexts:
-
Presenter computed functions: Set via presenter cards’ toolbars (shared across cards). Values are calculated on the server during polls, debounced to run in batches rather than after each answer. Available in the
poll/computedResultsgetter. -
Public computed functions: Presenter computed functions flagged as
publicin the editor dialog, making them accessible to participants. -
Student computed functions: Defined via student perspective cards’ toolbars. Calculated on the client side. Available in the
poll/computedValuesgetter. -
Report computed functions: Live in courseware modules and are used by report cards.
Using Computed Values in Graphs
Section titled “Using Computed Values in Graphs”Computed values can be used as inputs for many graph types, including:
When configuring a graph, look for computed values in the input selector - they appear with an “fx” icon and are labeled as “Computed:variableName”.
Data Bins
Section titled “ Data Bins”Data bins are dynamic content items that hold and aggregate data from multiple projects or polls. Unlike static content items, data bins store computed results that are derived from their associated data inputs and update automatically. They are computed/collected rather than created as static pieces of content, facilitating real-time insights and analytics across your organization. Data bins allow you to:
- Aggregate results from multiple polls or projects
- Store computed results that update automatically
- Share aggregated data across different visualizations and dashboards
- Create organization-wide analytics and reporting
Key Concepts
Section titled “Key Concepts”- Data Bin: A unique container defined by administrators to store a single aggregated result at any given time.
- Inputs Collection: A nested collection within each data bin that stores data inputs from various projects or polls.
- Computed Function: A JavaScript function defined per data bin that processes data from the inputs collection to compute the bin’s result.
- Evaluation: Automatic computation of data bin results triggered by changes in inputs, with optional manual evaluation.
Using Data Bins in Graphs
Section titled “Using Data Bins in Graphs”Data bins can be used as inputs for many graph types, including:
When configuring a graph, look for data bins in the input selector - they appear with an inventory icon and are labeled as “Databin:labelName”.
Creating and Managing Data Bins
Section titled “Creating and Managing Data Bins”Data bins are created and managed by administrators in the Organization Admin Panel:
- Navigate to the Organization Admin Panel
- Select the Data Bins section
- Click “New Data Bin” to create one
- Enter a descriptive label and define the computed function
- Save to create the data bin
Data bins automatically recompute their results whenever an input in the collection changes. Manual recomputation can also be performed during editing or previewing.