A common trajectory recapitulated by urban economies