Chart Node is not working correctly

Please edit you post and correct the code , as it needs to be posted correctly

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json

Also it is very difficult to diagnose issues without example input.
Copy first 5 lines of csv file and paste them in a template node, then create a example flow using template rather than file read node. Paste example flow here as shown above.
How to import/export a flow