EU contributions 2016
In this example we explain how to create a beautiful map of contributions to the EU budget per country in 2016. For this map we use this data.
The map we are going to create has this url:
You can easily test every step yourself by copying the url and pasting it in the url bar of another browser tab or window.
Creating this map
In 3 simple steps we get to our final result:
- 1. Select a base map
- 2. Add areas and data
- 3. Color the areas using a color ramp
- 4. Finalize the map with some colors
1. Select a base map
We start with the base map. From the urlmaps list of available maps we select the Europe countries map (map id 44).
2. Select the areas with data
We add the a-param with the area codes of the EU countries separated by | (pipe) and their contribution per country separated by : (colon).
3. Color the areas
We add colors to the countries by using a color ramp (rmp-param) to auto-generate a color for each country based on its contribution.
4. Finalize the map
We finalize the map by adding a color for the countries that were not selected and the borders.