observable-framework-lib-csv
Installation
SKILL.md
Library: CSV
Observable Framework documentation: Library: CSV Source: https://observablehq.com/framework/lib-csv
To load a comma-separated values (CSV) file, use FileAttachment.csv. The csv, tsv, and dsv method implementations are based on RFC 4180.
const gistemp = FileAttachment("gistemp.csv").csv({typed: true});
The value of gistemp above is a promise to an array of objects. In other code blocks, the promise is resolved implicitly and hence you can refer to it as an array of objects.
gistemp
The column names are listed in the columns property: