Visualize data from API in p5.js

I haven’t tried it but found https://mappa.js.org/docs/getting-started.html which has examples to work with p5js. Do you have a simplified version of your problem (code)?