Do you want to quickly see how people respond to questions in your eLearning courses?
In this tutorial, I'll show you how to create pie charts that show user responses to each question.
You can use these visualizations to see which percentage of the responses are correct, as well as which distractors are the most convincing. This data may suggest that you:
We will accomplish this using the Chart Builder in Veracity LRS.
This tutorial also assumes that you've already collected the xAPI data. If you have not, then you should complete the Getting Started with xAPI Tutorial Series and the Collect Text Responses with xAPI tutorial.
Specifically, you should collect xAPI statements that include the question's ID in the object.id property and the question response in the result.response property.
If your xAPI statements are set up correctly, then following the steps in this tutorial should be a breeze.
Let's get started!
If you were not already collecting your xAPI data in Veracity LRS, then import it or begin collecting data now.
Once you've signed in, select the LRS that holds the xAPI data for your questions.
Next, select "Analytics" from the toolbar on the left.
After that, select "Custom Dashboards," then select "New Dashboard."
Now you can select "Edit Dashboard."
If you'd like, rename the dashboard by selecting the "Set Title" button.
I suggest creating a dashboard for each quiz or set of questions that you would like to visualize. Think of the dashboard as a single-page "folder" for the individual pie charts.
Now that the dashboard is set up, we need to create the pie charts.
Add a new widget by selecting the "Add Widget" button. Then choose "Chart Builder."
Title the chart based off of the question and the correct answer. For example, I like to include the question number with the correct answer in parentheses, like this: "Question 1 (False)."
Also, change the chart type to "Pie Chart."
Next, we need to change the value next to "Make a slice for each unique value of" to "result.response."
You can do this by selecting the small "X" next to "actor.id." Press it once to get back to "actor," then press it again to get to the root of the xAPI statement.
Now, next to "Choose a path," select the downward facing arrow.
Select "result" from the list, then select the downward facing arrow again and select "response."
Finally, select the "+" icon to the right of "Matching Statements Where."
Now, using the same approach as above, use the downward facing arrow to navigate to "object.id."
In the text box next to "equals," enter the object ID for the question whose responses you would like to display.
And there you have it! Select "OK" at the bottom of the window to close it and view your pie chart.
You can use the steps in this tutorial to create a dashboard for each of your quizzes, as well as a pie chart for each question within those quizzes.
If you have any questions or need a hand accomplishing this, then feel free to join the ID community.