Launch the function loadJSON() with a html button

You can do that but it is preferable to do it in setup(). The idea is not to call that line in draw() as you would be doing it many times per second.

Kf