Tag Info

Hot answers tagged

1

You need to update your paths in the zoomed function. The original example does this on line 68. The simplest thing to do is to use the counties variable store a reference to the selection of paths: counties = topojson.feature(us, us.objects.barrios); counties = svg.selectAll("path") .data(counties.features) .enter() .append("path") ...



Only top voted, non community-wiki answers of a minimum length are eligible