https://github.com/philipwaldman/world-cities
Visualizes the population of cities around the world
https://github.com/philipwaldman/world-cities
cities maps population
Last synced: 17 days ago
JSON representation
Visualizes the population of cities around the world
- Host: GitHub
- URL: https://github.com/philipwaldman/world-cities
- Owner: PhilipWaldman
- Created: 2019-03-13T00:42:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-05T16:28:20.000Z (almost 5 years ago)
- Last Synced: 2025-05-14T10:22:58.109Z (5 months ago)
- Topics: cities, maps, population
- Language: Processing
- Homepage:
- Size: 272 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

### The dataset
The wordcities.csv dataset contains 11,276 cities around the world. For every city its name, name in ascii, country, latitude, longitude, and population is provided.### How it is visualized
A city is represented by a dot that is draw at its coordinates. Every three pixels is equivalent to one degree.The color of a dot is on a gradient that goes from red (r=255, g=0, b=0) to green (r=0, g=255, b=0). Where red corresponds to a population of zero and green is any population greater than one million.
The size of the dot is determined by mapping a population of zero to a dot size of one pixel and a population of twenty million to a dot size of ten pixels. This results in the formula: `dot size = 5E-7 × population + 1`.