The functions from src/geo in the d3 repo