Home>

In Processing, I am trying to read data created in Excel and create a graph based on it. Although the data has been read, it is only possible to display the data, and it is not clear what to do.
What we want to realize
①Read data
(2) Add the numerical value appropriately selected in the read data
③ Multiply all values ​​in the data by common numbers
That is.

Error message
For now, when you execute it, the numerical value of the data will be displayed as the execution result
Applicable source code

Java
void setup () {
background (255);
size (800,400);

Table csvData = loadTable ("2.csv", "csv");

fill (0);

// 1 line
text (csvData.getString (0,0), 10,20);
text (csvData.getString (0,1), 50,20);
text (csvData.getString (0,2), 90,20);

// 2 line
text (csvData.getString (1,0), 10,40);
text (csvData.getString (1,1), 50,40);
text (csvData.getString (1,2), 90,40);

// 3 line
text (csvData.getString (2,0), 10,60);
text (csvData.getString (2,1), 50,60);
text (csvData.getString (2,2), 90,60);

noLoop ();// Do not loop

}

void draw () {
stroke (0,25,62);

}

I tried to make an array, but it didn't work.

Supplemental information (FW/tool version etc.)

Processing3.5.3