Getting jsfiddle into a qualtrics question | XM Community
Skip to main content
Solved

Getting jsfiddle into a qualtrics question

  • September 14, 2021
  • 4 replies
  • 14 views

I have been trying to get these jsfiddles into qualtrics:
Preloaded data. - JSFiddle - Code Playgroundhttps://jsfiddle.net/7f34g68y/1/
But whatever I try (using just html; using javascript and html, etc) I either don't get a graph/figure or it displays is in a weird way.
I would really really love some help, because I am very new to this :)

Best answer by ahmedA

Open the fiddle, in nav bar at the top, you'll see embed. Click on that, untoggle everything except results. Then select prefer iframe.
Copy that code, change the height accordingly.
Paste it in the question HTML.

4 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • September 14, 2021

It works perfectly fine for me: https://iima.au1.qualtrics.com/jfe/preview/SV_eIH0JNSqzpUyvGZ/BL_ewYkqeXyGrMGPTE?Q_SurveyVersionID=current
CanvasJS is considered to be a tracker by some systems, hence tracking protection/ad blockers will often not allow it to load.


  • Author
  • September 14, 2021

Thanks for your respons! That looks exactly how I want it! But how did you then put the codes in Qualtrics? Via just htlm? And can you just literally copy them?


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • September 14, 2021

Open the fiddle, in nav bar at the top, you'll see embed. Click on that, untoggle everything except results. Then select prefer iframe.
Copy that code, change the height accordingly.
Paste it in the question HTML.


  • Author
  • September 14, 2021

Ah right, that worked. Thank you so much!