javascript: improve SEO by forcing web crawlers to read the csv file looking for keywords

I am trying to improve the SEO of my website and recently used an online SEO tester for my first custom coded website.

I am trying to improve the number of unique keywords and tracked text content and I hope to use the .csv file that I created for the sunburst plotly.js. I followed this example

Right now, I think the best way is to allow access to .csv would be using the robots.txt file but I could not confirm that the approach will help. I am new to the world of web development, so I apologize if the question is primitive. Any help is appreciated.