Proofs of Concept

I basiclly just wanted to see if I can upload the .csv into processing, which didn“t work for some reason. This is the error:

“Error reading table on line 0”

This is the code:

loadingTest

import processing.pdf.*;
void setup() {
size(600, 400);
}
void draw() {
background(255);
// load all fonts
String[] fontList = PFont.list();
//PFont myFont = createFont(“Futura-CondensedMedium”, 32);
// textFont(myFont);
//textMode(MODEL);

Table budgetItaly = loadTable(“BudgetItaly.csv”, “header”);

// loop through the data
for (TableRow row : budgetItaly.rows()) {
// grab each column
int number = row.getInt(“number”);
float percentage = row.getFloat(“wfood”);
int total = row.getInt(“totexp”);
int age = row.getInt(“age”);
int size = row.getInt(“size”);
int town = row.getInt(“town”);
String sex = row.getString(“sex”);

// filter bad data
// if (name == “”) continue;

plotList(number, percentage, total, age, size, town, sex);
}
}
void plotList(int number, float percentage, int total, int age, int size, int town, String sex) {

println(number,percentage,total,age,size,town,sex);
}