This project visualizes the 2022 Health Insurance Coverage data by race and ethnicity across each US state using Plotly's scatter_mapbox. It features an interactive map that allows users to explore coverage disparities and trends across different demographics.
The interactive map enables users to select different racial and ethnic groups to see state-specific data, including coverage types and the number of insured individuals. Each state's data can be viewed in detail through tooltips that appear on hover, which include the state's name, coverage type, number of people covered, and the specific race/ethnicity. This interactive approach not only enhances the user experience but also provides a platform for in-depth analysis of health insurance coverage disparities and trends across different demographics at a state level.
- Interactive Dash Map: Visualize health insurance data geographically on a map.
- Dropdown for Race/Ethnicity Selection: Users can filter the map view based on the race/ethnicity.
- Custom Tooltips: Hovering over any state shows details such as state name, coverage type, number of people covered, and race/ethnicity.
- Jupyter Notebook Integration: All functionalities are integrated within a Jupyter Notebook using Dash and JupyterDash libraries.
- Python: Primary programming language.
- Jupyter Notebook: Environment for writing and sharing code dynamically.
- Dash and JupyterDash: Frameworks for building interactive web applications directly in Python.
- Plotly: Library for interactive and complex visualizations.
- Pandas: For data manipulation and analysis.
- NumPy: For numerical operations.
- Clone the Repository
git clone https://github.com/acorvin/health-insurance-coverage-by-race-ethnicity.git
cd health-insurance-coverage-by-race-ethnicity
- Install Required Libraries:
pip install -r requirements.txt
- Launch Jupyter Notebook:
jupyter notebook
Navigate to the notebook file within the Jupyter interface to open and run it.
After installing the dependencies and launching Jupyter Notebook, open the analysis.ipynb
file and run the cells sequentially to activate the interactive visualization.
SHADAC analysis of the American Community Survey (ACS) Public Use Microdata Sample (PUMS) files.
This project is licensed under the MIT license.