This repository contains the code and analysis for a project presented to AtliQ Media. The project aims to provide unbiased insights from the 2014 and 2019 Lok Sabha elections in India, focusing on less explored themes like voter turnout percentage. This analysis was conducted as part of the Resume Project challenge 11 of Code Basics.
AtliQ Media, a private media company, plans to telecast a show on the Lok Sabha elections 2024 in India. Unlike other channels, they aim to present data-driven insights from past elections without any bias, rather than debating the potential winners of the upcoming election.
The main objectives of this project are:
- To analyze voter turnout percentages across various constituencies.
- To compare the performance of major political parties (INC and BJP) between 2014 and 2019.
- To identify constituencies with significant changes in party preferences and voter turnout.
- To provide meaningful visualizations of the findings.
The analysis is divided into several key sections:
- Voter Turnout Analysis: Examining the voter turnout percentage in different constituencies.
- Party Performance Comparison: Comparing the vote shares of INC and BJP in 2014 and 2019.
- Change in Party Preferences: Identifying constituencies where the winning party changed between 2014 and 2019.
- Top Constituencies by Vote Share Gain: Highlighting constituencies where INC and BJP gained significant vote shares.
- NOTA Analysis: Determining which constituency voted the most for NOTA.
codebasics1.ipynb
: The Jupyter Notebook containing all the code and visualizations for the analysis.
To run the code in this repository, you need the following:
- Python 3.x
- Jupyter Notebook
- Required Python libraries:
pandas
,matplotlib
- Clone the repository:
git clone https://github.com/yourusername/election-data-analysis.git
- Navigate to the project directory:
cd election-data-analysis
- Install the required libraries:
pip install pandas matplotlib
- Open the Jupyter Notebook:
jupyter notebook codebasics1.ipynb
- Run the cells sequentially to perform the analysis and generate visualizations.
A detailed video presentation explaining the analysis is available on YouTube. Watch the video to get a comprehensive understanding of the insights and findings.
🔗 YouTube Video: Link to the video
Contributions are welcome! If you have any suggestions or improvements, feel free to create an issue or submit a pull request.
Thanks codebasics, Dhaval Patel, and Hemanand Vadivel for this challenge
Author: Prateek Sharma
Contact: ps2798@rit.edu/prateeksharma1809@gmail.com