Visualization of French mayor's sponsorships for the French presidential election of 2022. Chosen candidates are displayed on a map of metropolitan French towns ("communes").
Example: plot candidates on map
Example 2: top 10 candidates
Run the notebook demo_mayor_sponsorship to visualize sponsorships for each town of metropolitan France
The following Python libraries are used in these notebooks:
- pandas - Python Data Analysis Library
- GeoPandas - GeoPandas is an open source project which extends the datatypes used by pandas to allow spatial operations on geometric types.
This code was tested with following versions:
- demo_mayor_sponsorship: Python 3.9.4, geopandas 0.10.2, pandas 1.3.4
- Thomas Dubot
This project is licensed under the MIT License - see the LICENSE.md file for details
All data are open source data provided by the French open source data portal: https://www.data.gouv.fr/fr/