Display product variations as radiobuttons/checkboxes

Is it possible to display product variations with radiobuttons or check boxes instead of as a dropdown?

As featured on fiverr.com