This script was created to make a very minimalist map of the Brasilian population using dot density. For every 1000 inhabitants, a dot with random coordinated is generated within the boundaries of the municipality.
The data used for the example comes from the Instituto Brasileiro de Geografia e Estatística
For the population: https://www.ibge.gov.br/estatisticas-novoportal/sociais/populacao/9103-estimativas-de-populacao.html?=&t=downloads
For the municipalities: ftp://geoftp.ibge.gov.br/organizacao_do_territorio/