The Equal Earth projection is a pseudocylindrical world-map projection designed to represent global areas proportionally. In D3, create it with geoEqualEarth() before converting geographic data into SVG paths. section 13.2.1
Minimal world-map setup
const projection = geoEqualEarth(); const geoPathGenerator = geoPath().projection(projection); svg.selectAll(".country-path") .data(world.features) .join("path") .attr("d", geoPathGenerator);
