score:2

Accepted answer

I figured it out! I was misunderstanding how the projectionTween function was working. I basically forgot to transition it from v3 to v4. so the code:

var projection = d3.geo.projection(project) .scale(1) .translate([width / 2, height / 2]);

becomes:

var projection = d3.geoProjection(project) .scale(1) .translate([width / 2, height / 2]);

Hope this helps someone!


More Query from same tag