// BoxOffice PFont f; String[] s; float[] data; float[] item; float dataMax; float xmin, xmax, ymin, ymax; void setup() { size(1000, 400); smooth(); noLoop(); background(0); f = createFont("Broadway", 16, true); textFont(f); // acquire and parse data s = loadStrings("SocialNetwork10-1-11-7.txt"); println("Read " + s.length + " lines."); // Create array to store earnings data = new float[s.length]; // Separate earnings and theater count and convert to float for (int i=0; i