The Peirce quincuncial projection can be constructed using d3.geo.guyou from the geo.projection D3 plugin.
d3.geo.guyou