It has fairly constant temperatures of 21 ºC (70 ºF) throughout the year. This in contrast with the scorching deserts to the north and the tropical areas along the coasts. The area where Mexico City is located -- known as the Mexican Central Plateau -- also has rich volcanic soils, allowing better crop production and increased population densities.
Basically, because of a strong centralism. Mexico was under a de facto single-party regime during much of the 20th century, so it was convenient for that regime to have all the government bodies near each other, easier to control, so all the federal government structure was laid there, and delegations in other cities and even State governments just received orders from the centre.
Additionally, most important development projects like urban or industrial infrastructure or services were promoted for Mexico City. An example of this can be the metro transport, it was built I think in the 60s, while other cities like Monterrey or Guadalajara didn't see something like that until late 80s. Other cities, even having over a million inhabitants, can't even dream about it.
So, for many people, especially those from nearby States, moving to the capital was pretty much their only foreseeable way out from poverty.
Relatively recently, because of the 1985 earthquake, and then since the diversification of political parties in power, this centralism has loosened a little but it stands kind of high nevertheless. For example, the country's two only national TV broadcasters are based in Mexico city, which is bad for the rest for the country since there is a "if it didn't affect the capital, it's not newsworthy"-trend.
It has fairly constant temperatures of 21 ºC (70 ºF) throughout the year. This in contrast with the scorching deserts to the north and the tropical areas along the coasts. The area where Mexico City is located -- known as the Mexican Central Plateau -- also has rich volcanic soils, allowing better crop production and increased population densities.
Mexico City (18% of the total population of Mexico)
The population of New Mexico in 1940 was around 531,818 people.
As of 2021, Mexico's population is estimated to be around 130 million. It is projected to continue growing but an exact population number for 2025 is not available.
As of 2021, the population of Albuquerque, New Mexico is estimated to be around 560,218.
The urban population in Mexico accounts for 77% of the total population (some 86 million out of 112 million for 2010).
Approximately 21% of Mexico's population identifies as indigenous.
It is estimated to be around 22 million.
As of 2021, the population of Coyame, a municipality in Mexico, is estimated to be around 2,600 people.
As of 2021, the population of Gallup, New Mexico is estimated to be around 20,000 people.
That would be around 91.98 million people.
As of 2021, the estimated population of Roy, New Mexico is around 201 residents.
As of 2021, the population of Guadalajara, Mexico is estimated to be around 1.5 million people. It is the second most populous city in Mexico.