d3.js - how to plot after data load from csv in d3 -
i working hex binning illustration given at: http://bl.ocks.org/4248145
i want create modification read info csv contains columns x , y points.
want modify line:
var points = d3.range(2000).map(function() { homecoming [randomx(), randomy()]; });
so points contains 2 columns of data.
how can generate points variable 2 columns of info csv? since hex binning takes entire array (all rows @ once) , d3.csv doesn't seem cutting since asynchronous , function callback on each row of info -- there way set points variable info in csv file, , plot 1 time phone call complete?
csv d3.js
No comments:
Post a Comment