I had an issue with projecting on a larger map with several polygons. In case I'm not the only one, this solved the issue:
const outerRing = d.geometry.coordinates[0]
.slice(1)
.map((function(d) {
return projection(d);
}));
By the way, thank you so much for all of this!