This is something different but what is the explanation of the following code not looping through an array of a JSON file:
https://editor.p5js.org/eunieceharris/sketches/c0B0iuO9k