xxxxxxxxxx
18
let books
function preload(){
books = loadTable('/data/books.csv', 'csv', 'header')
}
function setup() {
createCanvas(400, 400);
let columns = books.columns;
print(columns)
for (const book of books.rows){
print(book.get('title'), 'by', book.get('author'))
print('©', book.getNum('year'), book.get('publisher'))
}
}