Using my own data in a P5.js sketch?

Thanks for reply. Coming from server side dev Iv not uch experience with front end stuff. Actually Iv really struggled it. I like javascript, I use node.js on VSC. The first graphics utility Iv tried is P5.js. I actually already made a sketch project that proccessed my array from a JSON file, as an array, and then produced the graph I required but Iv lost that program! When I try it today I get a new message and understand P5 only now accepts objects. Is this a new thing because I don’t remember object only last year?