# Using a CSV file as a datasource for XYChart

**URL:** <https://forum.inductiveautomation.com/t/using-a-csv-file-as-a-datasource-for-xychart/52534>\
**Category:** Ignition\
**Created:** [October 30, 2021, 10:57pm UTC](https://forum.inductiveautomation.com/t/using-a-csv-file-as-a-datasource-for-xychart/52534 "2021-10-30T22:57:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [October 31, 2021, 2:03pm UTC](https://forum.inductiveautomation.com/t/using-a-csv-file-as-a-datasource-for-xychart/52534/2 "2021-10-31T14:03:12Z")

</div>

Maybe this will help,

> [@Reading from .csv file to table](https://forum.inductiveautomation.com/t/reading-from-csv-file-to-table/19614):
>
> Is there a way to open a file and transfer it directly into a table on a timed script every 1 minute or so. I have a constantly updating .csv file and need to import the values so I can use them as temperature readings in my project. I am using the following script to access the file which works but I need an automatic system that is constantly updating. # Import Python's built-in csv library. import csv # Ask the user to find the CSV in the local file system. path = system.file.openFile("csv…

---

_[View the full topic](https://forum.inductiveautomation.com/t/using-a-csv-file-as-a-datasource-for-xychart/52534)._
