# Interactive Assessments – Displaying Survey Results as Bar Charts in Articulate Storyline

Using Articulate Storyline you can develop surveys, quizzes and interactive assessments. A survey question in eLearning can be used collect the opinions of the survey takers. Upon completing the survey, the learner will be able to the see the results in the results slide. In this blog post, I am going to show you how to display the survey results in bar charts.

Step 1: Create a certain number of survey questions(Here, I take 6 survey questions)

Step 2: Draw the rectangle boxes and take the possible states. (In this case, the possible states for the rectangle are 7. So, I have taken 7 states for that box named as 0, 1, 2, 3, 4, 5, 6) and increased the box size in each state as shown In figure below.

Step 3: Draw more boxes, as shown above, if you want. (Here, I need two more boxes).

Step 4: Take 3 Numeric variables named “option1”, “option2”, “option3” with default value as “0” as shown in the figure.

Step 5: Now give a trigger such that “Add value 1 to option1 when learner chooses option1”.

Step 6: Add another trigger such as “Add value 1 to option2 when learner chooses option2”.

Step 7: Add one more trigger such as “Add value 1 to option3 when learner chooses option3”.

Place the “Submit Interaction” trigger at the end of all triggers.

Step 8: Repeat Steps 4, 5, and 6 in all survey questions.

Step 9: Now add a trigger such as change the state of first rectangle to “0” if the value of the variable “option1” is equal to 0.

Step 10: Now add a trigger such as change the state of first rectangle to “1” if the value of the variable “option1” is equal to 1.

In such a way, change the states of the first rectangle box based on the value of the variable “option1

Step 11: Apply steps 9 and 10 to the remaining two rectangle boxes, based on the remaining two numeric variables “option2” and “option3”.

Step 12: Now publish and check your output.

This is how you can say display the survey results in bar charts, if you have any other ideas, do share!