D3.Geo performance on Pan/Zoom
Last year I made a couple experiments on web maps using the Mapnik library (server-side, bitmap/tiling). Now I'm trying to replicate the same experiments using the vector, client-side approach with d3.js. I have a map (~680 shapes) where zoom is slow and pan is sluggish ( this example by Mike Bostock works well). I suspect the problem is in the zoommove callback, the selectAll("path").attr("d", path) takes too long. function zoommove() { projection.translate(d3.event.translate).scale(d3.event.scale); mapa.selectAll("path").attr("d", path); console.log('zoommove fired...'); } Questions : Am I