This repository contains the code that I used to build a custom Google Maps based map to visualize geographic statistical data. As an example, I plotted the relative median income and population density of postal code areas in Finland. You can find more details about how the map was created on my blog.
To reproduce the map and open it up in a browser, you can follow these steps
- Register an account on the Google Cloud Platform to obtain an API key in order to use the Google Maps JS API. Registration is free, although a credit card is required. Free quota is available for the Google Maps API.
- Add your API key to the key.py file.
- Run the map.py script:
python map.py
.