deaths due to police actions in USA



Photo by Candid Shots on Pexels.com

I was in a Hackathon this week and we were pulling data related to statistics on deaths due to police actions in the United States. The information is available is at fatalencounters.org, and visualization is created with D3.js map and chartjs. All the code can be found in github.
First we look at the number of deaths in different states over the last 20 years.
Death count by States
California’s number is high because of she has the highest population. The next map shows the per capita (1 per 100,000 people).
Death Counts per 100, 100 people
Surprisingly, the number of deaths in Alaska is high. You can find a lot of information online.
Next, we look at the death counts by age, the chart below is a section of the age chart where 17 to 55 years old is the age range to look out for.
Death Counts by Age

Males are the generally affected as you can see in the chart below.
Death Counts by Gender
The next chart on race is not very interesting because the unspecified bar is too high.
Death Counts by Race
Lastly, and most importantly, the number of death increases over years.
Death Counts by Year
It is evident that something is wrong with the way how police executes, or the co-operation between police and public has worsen over years.
The source code is all in github. Follow a few liner in README.md and you should see these maps and charts in your favorite web browser. Enjoy.



Comments

Popular posts from this blog

OpenAI: Functions Feature in 2023-07-01-preview API version

Storing embedding in Azure Database for PostgreSQL

Happy New Year, 2024 from DALL-E