Hi, I'm very beginner. I really need your help.
My project is...
display amount of activities(which done on same day, date and time / described as circle size) for each 5 different points on the map.
if you finished to display activities of 5 points for day1, date1 and time 0, then now display 5 points for time1...and so on(for time 2, time 3, time 4.....)
if you finish displaying 5 points for the 1st day, now do the same thing for the next(2nd day)
the result needs to be "animation" which shows the movement of activities on 5 points on the map over time(by time and then date)
The structure of CSV(which includes the information of location, amount of activities, time and date) file is as follow

I've tried to display for the first day of first time(time00) by using this code. (I erased time01~05 for this test)
import com.reades.mapthing.*;
import net.divbyzero.gpx.*;
import net.divbyzero.gpx.parser.*;
import de.fhpotsdam.unfolding.*;
import de.fhpotsdam.unfolding.geo.*;
import de.fhpotsdam.unfolding.utils.*;
import de.fhpotsdam.unfolding.providers.*;
UnfoldingMap map;
ArrayList<Position> admins = new ArrayList(); //declare and create array "admis"
void setup() {
size(800, 600, P2D);
smooth();
// Create interactive map centered around Jeju
map = new UnfoldingMap(this, new OpenStreetMap.OpenStreetMapProvider());
map.zoomAndPanTo(10, new Location(33.35, 126.52));
MapUtils.createDefaultEventDispatcher(this, map);
map.setTweening(true);
// Load CSV data
Table DataCSV = loadTable("time_201303.csv", "header");
for (TableRow Row : DataCSV.rows()) {
// Create new empty object to store data
Position container = new Position();
// Read data from CSV
float lat = Row.getFloat("Y_COORD");
float lng = Row.getFloat("X_COORD");
container.location = new Location(lat, lng);
// Add to list of all bike stations
admins.add(container);
}
}
void draw() {
// Draw map and darken it a bit
map.draw();
fill(0, 150);
rect(0, 0, width, height);
noStroke();
// Iterate over all admins
for (Position b : admins) {
// Convert geo locations to screen positions
ScreenPosition pos = map.getScreenPosition(b.location);
fill(200, 30, 200, 50);
ellipse(pos.x, pos.y, 20, 20);
}
}
My question are
Can I make this code simpler
How can I read data over time and date flow (read right direction first, and downward direction)
plz help me ㅜㅜ
