Access this project

Demo URL: https://komar41.github.io/us-gun-deaths/
GitHub repo: https://github.com/komar41/us-gun-deaths
Tools used: Python, NumPy, Pandas, JavaScript, HTML, CSS, SVG, D3.js.

This project aims to visualize and analyze gun-related deaths across the United States, providing insights into the distribution and patterns of these incidents. By presenting data through various interactive and informative visualizations, we seek to offer a comprehensive understanding of gun deaths at both state and city levels. The project incorporates multiple visualization techniques to showcase different aspects of the data, including geographic distribution, gender ratios, and age group breakdowns. Our goal is to create an accessible and informative tool for researchers, policymakers, and the general public to explore this critical issue.

US Gun Death Visualization


Components

1. Choropleth Map & Bubble Chart Overlay

  • The choropleth map visualizes the distribution of US gun deaths across all states
  • Legend showing colors for each class of the distribution: 0-10, 11-50, etc
  • A title with instructions on how to interact with the map
  • The overlaid bubbles on the map to show city-scale distribution. Circle sizes represent death counts.
  • Proper normalization used for circle sizes for accurate representation
Choropleth Map & Bubble Chart Overlay


2. Pie Chart & Horizontal Bar Chart (on hover)

  • Pie chart shows gender distribution for a selected state/city. Includes exact numbers for each gender
  • Horizontal bar chart displays age distribution for the same selected state/city. Includes exact numbers for each age group
Pie Chart & Horizontal Bar Chart


3. State-wide Bar Chart

  • Located at the bottom of the visualization
  • Shows death counts across all states in one view
State-wide Bar Chart


Interaction Features

  • Hover over states/cities to display detailed pie and bar charts
  • Title above the hover charts displays the selected state/city and total death count

Visualization Inspirations

Additional Resources