Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

FableBits/Electoral-Democracy-in-Africa

Domain:

socioeconomicgeospatial

Record type:

project
Creator:
Fab
Host:
This repository explores the state of democracy and its relationship with human development across the African continent during the period 2011–2025. Using static and interctive maps and graphs. # African Democracy Visualization Project This repository explores the state of democracy and its relationship with human development across the African continent during the period **2011–2025**. Using data-driven visualizations, it analyzes how democratic institutions correlate with inequality-adjusted development outcomes. ## 📊 Visualizations ### 1. Interactive Map of Electoral Democracy **File:** african_democracy_interative_map.py * **Description:** An interactive choropleth map that allows users to explore democracy index scores across Africa from 2011 to 2025. * **Features:** * Dynamic year slider to track changes over time. * Specialized handling for sub-national regions (e.g., Zanzibar and Tanzania Mainland). * Interactive hover and click features for detailed data exploration. ### 2. IHDI vs. Democracy Quality Scatterplot **File:** ihdi_democracy_interactive_scatterplot.py * **Description:** An interactive scatterplot that examines the correlation between the **Electoral Democracy Index** and the **Inequality-adjusted Human Development Index (IHDI)**. * **Insight:** Helps determine how much political freedom influences developmental equality during the examined period. ## 🗂️ Data Sources * **Democracy Data:** Varieties of Democracy (V-Dem), providing multidimensional data on the quality of democracy. * **IHDI Data:** United Nations Development Programme (UNDP), measuring national achievements while accounting for inequality. * **Geospatial Data:** Natural Earth for country and province-level boundaries. ## 🛠️ Technical Stack * **Languages:** Python (Pandas, GeoPandas, NumPy). * **Visualizations:** Plotly (Interactive maps and charts), Matplotlib/Seaborn. * **Database:** MySQL (SQLAlchemy) for storing and querying historical datasets. * **Geometry:** Shapely for handling complex spatial merges. ## 🚀 How to Run 1. **Configure Database:** Ensure your MySQL instance contains the `africa_dem` and `africa_ihdi_2023` tables. …

Visit

github.com

Languages

Swahili, Coastal

Similar

Constitutional democracy and electoral processes in Africa: The case of CameroonElectoral politics and democracy in Africa: A critical review of Lindberg’s thesisEffects of Digital Technologies on Africa’s Electoral DemocracyDemocratization Trapped in Electoral Violence: Is Sub-Saharan Africa a Dangerous Place for Democracy?Democracy within parties: Electoral consequences of candidate selection methods in TanzaniaELECTORAL VIOLENCE AND MALPRACTICES: NAVIGATING OBSTACLES TO STRENGTHENING DEMOCRACY IN NIGERIA'S FOURTH REPUBLIC

Constitutional democracy and electoral processes in Africa: The case of Cameroon

This chapter examines constitutional democracy and electoral processes in Africa through the lens of

Electoral politics and democracy in Africa: A critical review of Lindberg’s thesis

This article critically reviews, assesses and refines Lindberg’s theoretical proposition that Africa

Effects of Digital Technologies on Africa’s Electoral Democracy

This paper uses a South African case study to closely examine how the recent explosion of digital te

Democratization Trapped in Electoral Violence: Is Sub-Saharan Africa a Dangerous Place for Democracy?

The third wave of democratization that hit the African region in the early 1990s left in its wake te

Democracy within parties: Electoral consequences of candidate selection methods in Tanzania

A large body of literature exists around the study of elections. What often goes unnoticed, however,

ELECTORAL VIOLENCE AND MALPRACTICES: NAVIGATING OBSTACLES TO STRENGTHENING DEMOCRACY IN NIGERIA'S FOURTH REPUBLIC

Nigeria's electoral process is marred by electoral violence, malpractices, and other forms of miscon