Play Now Login Create Account
illyriad
  New Posts New Posts RSS Feed - Population Snapshot
  FAQ FAQ  Forum Search   Register Register  Login Login

Topic ClosedPopulation Snapshot

 Post Reply Post Reply Page  12>
Author
Larry View Drop Down
Wordsmith
Wordsmith


Joined: 10 Mar 2010
Status: Offline
Points: 114
Direct Link To This Post Topic: Population Snapshot
    Posted: 16 Sep 2010 at 03:50
Thought it'd be interesting to show a graph of the data I have available. X axis is population, y axis is number of towns ABOVE that population.


Back to Top
Aelfric View Drop Down
Greenhorn
Greenhorn
Avatar

Joined: 05 Jun 2010
Status: Offline
Points: 76
Direct Link To This Post Posted: 18 Sep 2010 at 12:43
Nice work, Larry.

Now we know population growth is not represented by a diminishing return curve. :)
Back to Top
The Con Orc View Drop Down
Greenhorn
Greenhorn
Avatar

Joined: 07 Dec 2010
Status: Offline
Points: 79
Direct Link To This Post Posted: 11 Dec 2010 at 02:33
that doesnt seem like it covers the entire illyriad towns..
Back to Top
King EAM View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 26 Aug 2010
Location: GA, USA
Status: Offline
Points: 273
Direct Link To This Post Posted: 11 Dec 2010 at 13:29
Originally posted by The Con Orc The Con Orc wrote:

that doesnt seem like it covers the entire illyriad towns..

Only towns up to 3500 population, I think but you get the idea.


Edited by King EAM - 11 Dec 2010 at 13:30
Back to Top
The Con Orc View Drop Down
Greenhorn
Greenhorn
Avatar

Joined: 07 Dec 2010
Status: Offline
Points: 79
Direct Link To This Post Posted: 11 Dec 2010 at 16:56

well even then, like the towns that have 0 population, i'm pretty confident there are more towns than shown

Back to Top
surferdude View Drop Down
Wordsmith
Wordsmith
Avatar

Joined: 02 Aug 2010
Status: Offline
Points: 103
Direct Link To This Post Posted: 11 Dec 2010 at 20:31
Originally posted by The Con Orc The Con Orc wrote:

that doesnt seem like it covers the entire illyriad towns..

Since it was posted in september and its now december - probably not...
Back to Top
fluffy View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 02 Mar 2010
Status: Offline
Points: 335
Direct Link To This Post Posted: 11 Dec 2010 at 22:22
Originally posted by King EAM King EAM wrote:

Originally posted by The Con Orc The Con Orc wrote:

that doesnt seem like it covers the entire illyriad towns..

Only towns up to 3500 population, I think but you get the idea.


read again.  The x axis is the population of the town, the y axis is the number of towns, so theres 3500 towns with a pop of over some number(100?)
Back to Top
Larry View Drop Down
Wordsmith
Wordsmith


Joined: 10 Mar 2010
Status: Offline
Points: 114
Direct Link To This Post Posted: 13 Dec 2010 at 04:13
An updated version. In this case each dot is a population delta of 50, starting with a minimum of 50 as the 15k towns with a population less than that made the detail in the rest of the graph hard to discern. 



Open image in new tab for larger view.

Below is the slightly more interesting graph that only looks at towns over 1000 population.




Edited by Larry - 13 Dec 2010 at 16:04
Back to Top
The Con Orc View Drop Down
Greenhorn
Greenhorn
Avatar

Joined: 07 Dec 2010
Status: Offline
Points: 79
Direct Link To This Post Posted: 13 Dec 2010 at 15:27
How did you figure all this out?
Guitar Jesus!
Back to Top
Larry View Drop Down
Wordsmith
Wordsmith


Joined: 10 Mar 2010
Status: Offline
Points: 114
Direct Link To This Post Posted: 13 Dec 2010 at 15:56
Way back in May I wrote a parser to go over the datafile_towns.xml file and turn them into objects. The result is all parsed and made publicly available at http://illyriad.heroku.com

To get those particular numbers, I just did:

Quote
numbers = (0...30000).step(50).collect { |n| Town.population_greater_than(n).population_less_than(n+50).size }

Yay ruby. Also that graph had an accidental error, now fixed.


Edited by Larry - 13 Dec 2010 at 16:05
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.