Qualtrics: Adding adjustable spinner – Probability wheel

I’m just wondering if it is possible to add an adjustable spinner for a question in Qualtrics using Javascript like in the picture I’ve attached.
Probability Wheel

The user should be able to adjust the area of the sectors and also can spin the wheel. At the end, I need to store the value of the area of each sector.