Update August 2015: check “scaled”- based fast SVG rendering on top of Leaflet here
Testing SVG limits of plotting points on map using D3, Leaflet following this base sample:http://bost.ocks.org/mike/leaflet. However instead of scaling SVG in deep zooms, I am using Enter/Update/Exit pattern from D3 to dynamically update points on map. This has been prototyped also here http://bl.ocks.org/sumbera/9972460 with brushing of 100T points.
For zooming out (causing all points to be displayed), I am filtering out points that can’t be effectively visible, thus reducing number of points in SVG. (check console for log output).
This sample is using real data of 24T coordinates where points are clustered around cities, rather than artifically randomized. Real number of rendered points / removed points can be seen in console
Test page : http://bl.ocks.org/sumbera/10463358
Can I use variation of http://bl.ocks.org/sumbera/10463358 for my non-profit website with my own data? If so,
what is the format of the .csv — so far I cannot get my points to show up. Please contact me.
sure you can, there is also customizable app for this task where you can define your columns and charts and much more – check Incident Analyzer