Majority App is a web application built using Dash, a Python framework for building analytical web applications. This application provides insights into the voting behavior of US legislators on various bills, offering valuable information for public affairs professionals and political analysts.
PS: This is a mock app for educational purposes.
I'm Barbara Calderon, a software developer from Brazil.
- Tab Navigation: Navigate between different tabs to explore information about the application, bills, and legislators.
- About Us Tab: Provides an overview of the application and its capabilities, offering insights into the tools provided.
- Bills Tab: Allows users to select a bill and view detailed information, including the primary sponsor and the number of votes for and against the bill.
- Legislators Tab: Enables users to select a legislator and explore their voting behavior, including the number of bills they have supported or opposed.
To run the Majority App locally, follow these steps:
Make sure you have Python and Pip installed.
-
Clone the repository:
git clone https://github.com/your-username/majority-app.git
-
Navigate to the project directory:
cd majority-app
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python src/app.py
-
Access the application in your web browser at http://127.0.0.1:8050/.
src/
: Contains the main application code.src/data/
: Contains CSV files used for data processing.src/callback_functions.py
: Module containing callback functions for Dash application.requirements.txt
: List of Python dependencies required for the project.README.md
: Instructions and information about the project.
- Python
- Pandas
- Dash
- Dash Mantine Components
- HTML
- CSS
The Majority App was developed by myself, Barbara Calderon, as a mock application for educational purposes. It is not affiliated with any official organization or company.