Craft My PDF Chart Data / Array from a list of numbers

Hi All

hopefully someone can help with this. Craft My PDF does offer some good docs for generating charts from database objects. However my use case is a little different.

I have a custom state with a list of numbers in it. (written to an input field and pasted below to show the specific state of this data)
29.6, 29.6, 29.6, 29.6, 29.6, 29.6, 29.6, 29.6, 29.6, 29.6, 29.6, 29.7, 29.7, 29.7, 29.7, 29.7, 29.7, 29.7, 29.7, 29.7, 29.6, 29.6, 29.6, 29.6, 29.5, 29.5, 29.4, 29.4, 29.4, 29.3, 29.3, 29.3, 29.2, 29.2, 29.2, 29.1, 29.1

I want this list of numbers to be shown on a line chart.

Can anyone please provide some guidance.

I have pdf set up and working with standard test fields and an image file so I’m not a newbie.
I just don’t have the experience of working with arrays /json data to the extent to fix this bit alone.