Is there a way to selectively pick CSV Data in Javascript

I am new to Javascript and want to find a way read from a CSV File selectively (using a given range).

For example, something like CSVRead(row3,col5, toRow10, toCol15).

I found d3.csv which just reads the CSV and there are no arguments to do this. Also saw PapaParse – which from what i can tell doesn’t have this functionality either.

The goal is to product charts using selective areas from ONE CSV file, rather than create multiple CSV Data files.