In 'Lay understanding of probability distributions' (2014) Daniel Goldstein and David Rothschild have highlighted the benefits of using graphical interfaces called distribution builders to study subjective probabilities, perceptions of frequency, and confidence judgements.
However, the implementation of such distribution builders in online studies is not straightforward, as survey platforms do not implement them. I have create the distBuilder library to address this issue, and make the implementation of distribution builders easy and accessible to researchers.
The library is extremely easy to use, and allows you to add fully functional distribution builders in a few lines of code.
var distbuilder = new DistributionBuilder(); distbuilder.render('targetdiv'); distbuilder.labelize();
To find out how to use the library in your own research, visit the documentation page of the library!