Zipf's Law for U.S. Cities
Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Zipf's law implies that a log-log plot of the rank-size distribution will be a straight line with a slope of negative one. A linear regression shows that the best fit to Zipf's law is found when close to 150 metropolitan areas are included.
Contributed by: Fiona Maclachlan (September 2007)
Open content licensed under CC BY-NC-SA
The data for city sizes was obtained using the CityData function in Mathematica (September 2007), and the data for the metropolitan areas was obtained from the United States Census, 2000.
"Zipf's Law for U.S. Cities"
Wolfram Demonstrations Project
Published: September 28 2007