In-question data visualization for constant sum? | XM Community
Solved

In-question data visualization for constant sum?

  • 25 April 2018
  • 3 replies
  • 107 views

Badge +2
I've recently completed a survey on the Qualtrics platform in which a constant sum question was used with slider bars. What made this question unique, however, was that the question also included a doughnut chart which dynamically displayed the values attributed to each choice within the question and listed a message that "You have X% remaining." Can anyone offer insight into how this might have been accomplished? Image attached for reference.

!
icon

Best answer by TomG 25 April 2018, 22:31

View original

3 replies

Userlevel 7
Badge +27
It is done with JavaScript. I've done it with a pie chart instead of a doughnut. There are a number of JavaScript libraries that do charts that can be used.
Badge +2
Thanks, Tom! I've assumed as much and I've found the chart.js library in another thread. I am a complete neophyte when it comes to coding. Any suggestions on how best to get started? Do you know of any online resources or tutorials which may help guide me down this path?
Userlevel 7
Badge +27
You can start with this tutorial on Javascript then move to jQuery.

Leave a Reply