xxxxxxxxxx
23
let cities;
function preload(){
cities = loadTable('worldcities.csv','csv','header')
}
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
let rowNum= cities.getRowCount();
let Lat= cities.getColumn('lat')
let lng= cities.getColumn('lng')
let population= cities.getColumn('population')
for(i=0; i<rowNum; i++){
circle(lng,lat,10);
}