r/reactjs • • Jun 12 '20

Show /r/reactjs BrutalityVisualizer - an interactive heatmap visualization of police brutality incidents in the US

665 Upvotes

25 comments sorted by

23

u/ganachie Jun 12 '20 edited Jun 12 '20

Hello React community! This is a heatmap visualization project my friend and I worked on! Feel free to leave feedback and questions! :)

https://brutalityvisualizer.app

GitHub

API Source

7

u/b10011 Jun 12 '20

3

u/ganachie Jun 12 '20

Haha the API places the the coordinate in the middle of New York! And since all New York incidents are placed on the same coordinate, ChargePoint unfortunately takes the heat :(

1

u/donner9 Jun 12 '20

can I have it for Brazil too? How can I help?

14

u/Sphism Jun 12 '20

Should make the red to green fade more like bruise colors

4

u/ganachie Jun 12 '20

Will try looking into that! Thank you :)

6

u/Sphism Jun 12 '20

Should have also said it looks awesome. Great work.

26

u/sarcastasaur Jun 12 '20

I don't know what you're using for your data sources, but here's a few more sites with data about police killings/brutality:

https://policecrime.bgsu.edu/Home/Map

https://fatalencounters.org/people-search/

10

u/ganachie Jun 12 '20

Thank! Will take a look :)

5

u/shawnm__ Jun 12 '20

Really cool project! One thing that might be nice to add are location pins for the specific occurrences as you zoom in. Overall really well executed project

4

u/ganachie Jun 12 '20

Thank you! We thinking of adding pins for both zoom-in location & pins for when a user makes a query in the search bar

2

u/shawnm__ Jun 12 '20

Glad to see it's on the roadmap! Will keep an eye out for updates. Would like to help get the word out about this project - pm'd with details.

3

u/fireatx Jun 12 '20

This is amazing. Really nice work.

1

u/ganachie Jun 12 '20

Thank you!

6

u/noUsernameIsUnique Jun 12 '20

Now overlay it with a map of predominant races, by home, using something like Census or Congressional districts data.

•

u/swyx Jun 12 '20

locked :) if you'd like to contribute or see the code, see /u/ganachie's repo here https://github.com/police-brutality-2020/visualizer

3

u/kloymusic Jun 12 '20

This is great

0

u/[deleted] Jun 12 '20

[deleted]

6

u/ganachie Jun 12 '20

We currently pull our data from here which doesn't include brutality by BLM & Rioters. If you have another data source that contains brutality by BLM and rioters I'm open to taking a look!

0

u/[deleted] Jun 12 '20

[deleted]

5

u/ganachie Jun 12 '20

Do you have an API source or data that I could take a look at?

4

u/windsostrange Jun 12 '20

It's not a serious request. He's a long-time /r/the_donald troll attempting to inject white supremacist politics into your React thread.

0

u/[deleted] Jun 12 '20

[deleted]

5

u/windsostrange Jun 12 '20

Did you really just create a reddit account for a bit of whataboutism in defence of an obvious white supremacist? Good lord.

6

u/IshiKamen Jun 12 '20

I love how the racists come out of the woodwork even on developer posts. And don't try to play stupid and say your comment isn't. You don't have to come out and say "I'm racist" to be one, we all know the dog whistles you fucks use. If I say "law and order" does that make you all giddy and excited? I bet it does.

Anyways, do you think we can't solve two issues at once? Even if someone were to concede that "black on black" crime is an issue (which is just redirecting the conversation), why don't you want to address blue crime?

If the best you can do is just redirect or criticize the how ("stop kneeling and disrespecting mah flag" or "what about this other issue"), you're tacitly admitting you have no way to argue against the actual issue folks are talking about.

So what's your issue with admitting that the police have a brutality problem? Try to answer without redirecting.

0

u/[deleted] Jun 12 '20

[deleted]

9

u/IshiKamen Jun 12 '20

You do know everyone can read your comment history and know you're just trolling with that comment right?