If you haven’t used Qualtrics for surveys before, I highly recommend it. The University of Minnesota maintains a contract with the company and we have access to use it for free. It’s by far the most robust survey software I’ve ever used.
Today I needed to do some visualizations within Qualtrics for a client, based on the results of an individual survey. Rather than visualizing them for a report, however, the client wanted to visualize them within the survey, so that survey users could see the results.
Then click “Advanced”, “Header –> edit”. From this window, click “Source”
Now create a basic question and then create a following question made out of text. Put a page break in between.
Our next step is to find out the ID of the question(s) we want to draw from. You can do this easily by (1) editing the question text, (2) clicking “Piped Text”, then clicking “Survey Question”, finding the question you want, then selecting “Selected Choices Recode”. It should create something that looks like this:
Now you are grabbing the piped text and turning it into a JS variable. We’re going to need to use
Take a look at the final code:
Oh, and there’s also a Qualtrics REST API. I’m a big fan.