Working through some dataviz problems in processing.js