I want to generate a grid and populate each cell with values from a row in a csv file.
The for loop in the grid puts everything in one cell and does not generate multiple cells. How do I do this?
// CSV Data
//typ,score,sex
//A,89,m
//B,78,f
#let data = csv("data.csv", row-type: dictionary)
#set page(paper: "us-letter", margin: (top: 0cm, bottom: 0cm, left: 0cm, right: 0cm))
#grid(columns: 5, stroke: black, for item in data {
grid.cell(item.score + item.sex)
}
)