Ghana Election Voting Trends: 2020 vs. 2024
# Ghana regional voting trends- 2020 and 2024
Ghana Election Regional Voting Trends: 2020 vs. 2024
## Overview
This project visualizes regional voting trends for Ghana's two major political parties, the New Patriotic Party (NPP) and the National Democratic Congress (NDC), in the 2020 and 2024 elections. The analysis is based on election data extracted from the Electoral Commission of Ghana Form 12 of the Public Elections Regulations, 2020.
The aim is to highlight voting patterns across regions and provide a comparative analysis of the two elections, focusing on key regions and their contributions to the national results.
## Objectives
- Visualize Regional Voting Trends: Compare NPP and NDC percentages for the 2020 and 2024 elections across Ghana's 16 administrative regions and the national average.
- Highlight Key Regions: Emphasize regions such as Ashanti, Volta, Greater Accra, and Northern, which play significant roles in determining national election outcomes.
- Foster Data Transparency: Leverage election data to promote evidence-based insights into regional voting behavior.
- Enable Collaboration: Share the code on GitHub to allow further contributions and refinement.
## Features
- Custom Colors: Highlights pivotal regions like Ashanti and Greater Accra with distinct colors for clarity.
- Dynamic Labels: Displays percentage labels for key regions using ggrepel to avoid overlapping text.
- Comparative Timeline: Visualizes data for both 2020 and 2024 elections on the same chart for direct comparison.
- Annotations: Includes a note explaining excluded constituencies and credits the visualization.
Dataset
The dataset used in this project is real election data sourced from the Electoral Commission of Ghana. It is structured as follows:
### Columns:
* year: Year of election.
* candidate_name: Names of the political candidates
* political_party: Initials of the political parties
* region: Names of the administrative regions
* vote: The number of votes won by ea …