This project provides an interactive dashboard for analyzing campaign finance data from Mexico's 2024 elections. The dashboard visualizes income, expenses, and demographic data across different political parties and states, offering insights into campaign financial patterns.
https://ine.mx/transparencia/datos-abiertos/#/archivo/ingresos-gastos-campana-procesos-electorales The data used in this project is publicly available through Mexico's National Electoral Institute (INE) transparency portal. The datasets contain information about:
- Campaign income across different funding sources
- Campaign expenses across various categories
- Candidate demographics and state-level distribution
- Party affiliations and coalitions
- Coalition Analysis: Visualization of financial resources across major political coalitions
- Party-Level Analysis: Detailed breakdown of income and expenses by political party
- State Analysis: Geographic distribution of campaign resources
- Gender Analysis: Distribution of resources and representation across gender
- Interactive Visualizations: Built with Dash and Plotly for dynamic data exploration
- Framework: Python with Dash
- Libraries: Plotly, Pandas, NumPy
- Styling: Bootstrap for responsive design
- Deployment: Compatible with Google Colab for easy access
This is an exploratory data analysis project created for educational and transparency purposes only. The author is not affiliated with any political party or organization. All interpretations and visualizations are based solely on publicly available data and should not be considered as official analysis or endorsement of any political entity.
The data is sourced directly from INE's public records. The analysis currently covers the 2024 election campaign period. Users can update the data sources by modifying the URLs in the code to point to the latest available datasets.
Feel free to fork the project, submit PRs, or suggest improvements through issues. All contributions are welcome!
- Data provided by Instituto Nacional Electoral (INE)
- Built with open-source tools and libraries
- Inspired by the need for transparent campaign finance visualization