Skip to content

Interactive map visualizing 2022 US health insurance coverage by race/ethnicity

Notifications You must be signed in to change notification settings

acorvin/health-insurance-coverage-by-race-ethnicity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

US Health Insurance Coverage by Race/Ethnicity (2022) - Interactive Data Visualization

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.

Preview

Interactive Map

Table of Contents

Overview

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.

Features

  • 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.

Technologies Used

  • 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.

Installation

  1. Clone the Repository
 git clone https://github.com/acorvin/health-insurance-coverage-by-race-ethnicity.git

 cd health-insurance-coverage-by-race-ethnicity
  1. Install Required Libraries:
 pip install -r requirements.txt
  1. Launch Jupyter Notebook:
 jupyter notebook

Navigate to the notebook file within the Jupyter interface to open and run it.

Usage

After installing the dependencies and launching Jupyter Notebook, open the analysis.ipynb file and run the cells sequentially to activate the interactive visualization.

Data Sources

SHADAC analysis of the American Community Survey (ACS) Public Use Microdata Sample (PUMS) files.

License

This project is licensed under the MIT license.

About

Interactive map visualizing 2022 US health insurance coverage by race/ethnicity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published