The funny thing is, very capable libraries already exist to handle CSV parsing.
I know because I authored jquery-csv, te first RFC complete CSV parser implementation in vanilla JS.
The transform is ridiculously simple and data can be fully loaded and processed client-side using the HTML5 File API.
As soon as JS gets the :: function bind operator I plan to reimplement it as a pure async function.