Wolfram Language code sample that generates the population distribution map for a specified country and outputs it as an image.
View the Project on GitHub orosandrei/Country-Population-Distribution
Code that generates the population distribution map for a specified country and outputs it as an image:
GeoGraphics[{CountryData["Romania"],Opacity[0.042, Red],Disk[Reverse[CityData[#, "Coordinates"]],Log[10.^18, QuantityMagnitude[CityData[#, "Population"]]]] & /@ CityData[{All, "Romania"}]}]
The sample is written with Wolfram Language, a very powerfull symbolic language with built-in algorithms and knowledge base.