for using CSV data please do not use
- array list
- load strings
learn about table…
https://processing.org/reference/Table.html
and how powerful it is, so not need to convert to array…
https://processing.org/reference/loadTable_.html
https://processing.org/reference/TableRow.html
example:
https://gitlab.com/snippets/1926923 ,
next:
what is the problem about the graph
and what does the dynamic… mean? you need to load new data from other CSV file? on what? keypress? timer?
also not see from first look why need a class for a PLOT function
and if that is code you copy from forum:
-1- tip: do not copy code from questions, only from answers
-2- give the link where you find that
-3- better learn to make code instead asking us to fit some code you copied to your need