P5 and InfluxDB

Hi, all has anyone used P5.js to read data from a time-series database such as InfluxDB.
If so is there any example code?