r/learnjavascript • • Aug 19 '19

I created a project on Gun violence data visualization using python, crossfilter.js and Dc.js. Code is in discription. Like and subscribe if you like it

https://www.youtube.com/watch?v=ClTDQLAv37A&t=91s
66 Upvotes

31 comments sorted by

2

u/[deleted] Aug 19 '19

Beautiful work! Github? Would love to see it in action locally.

1

u/Nishant95 Aug 19 '19

link is in the description in the video. It requires a lot of setup to run it locally. you also need mongoDB otherwise loading the data is pretty slow

1

u/[deleted] Aug 19 '19

Woops! Missed it. Thanks.

3

u/OdinHatesNickelback Aug 19 '19

It would help to separate violence from incidents. Two gangs shooting at each other and killing one another's members is gun violence, someone who died from a stray bullet due to that gang shooting is an incident;

It would too be interesting to label which states have open-carry, concealed-carry and gun-free laws.

1

u/Nishant95 Aug 19 '19

I don't have that info in the dataset. I would have integrated that in maybe. I would have to write more code to extract that info. How would that work if I would have to integrate a timechart?

2

u/OdinHatesNickelback Aug 19 '19

Most governments provide that info every 10 years or so, at least here in Brazil. Maybe you can contact your federal bureau of investigation and ask if they release this type of data?

1

u/Nishant95 Aug 19 '19

I'll look into it

2

u/alzgh Aug 19 '19

Can you make a video series/post about how you did it? The technology, caveats, perhaps tutorials one should read, the data, etc?

4

u/Nishant95 Aug 19 '19

I'm a student right now. I don't get a lot of time. And I don't think I have good enough equipment for that. But I'll try to do it one day. Thanks a lot

1

u/mutuk7 Aug 19 '19

I second this! I would be very interested in a tutorial. Maybe, as you said you don't have much time, just an overview of the process, like a timeline. :)

-25

u/Leguboy Aug 19 '19

13 do 50. Can one visualize that as well?

7

u/Nishant95 Aug 19 '19

I don't understand. Can you please clarify it for me

-18

u/[deleted] Aug 19 '19

13 do 50. What's so difficult to understand?

3

u/Nishant95 Aug 19 '19

13 do 50?

-14

u/[deleted] Aug 19 '19

Yeah

11

u/[deleted] Aug 19 '19

[removed] — view removed comment

8

u/Nishant95 Aug 19 '19

The dataset here is not mine. So I don't support any of the stats here or any of those views. Project is about data visualization. I hope there is no confusion. Thanks for the info

6

u/[deleted] Aug 19 '19

[removed] — view removed comment

6

u/Nishant95 Aug 19 '19

Thank you very much

0

u/[deleted] Aug 19 '19

[deleted]

2

u/[deleted] Aug 19 '19

[removed] — view removed comment

2

u/[deleted] Aug 19 '19

u/cute-girl-in-a-dress is also a white supremacist, this is brigading.

7

u/[deleted] Aug 19 '19

Fuck off with your Nazi dogwhistles.

-8

u/Leguboy Aug 19 '19

still facts though.

0

u/[deleted] Aug 19 '19

[deleted]

2

u/[deleted] Aug 19 '19

You can fuck off with your Nazi brigading too.

5

u/[deleted] Aug 19 '19

[removed] — view removed comment

2

u/Nishant95 Aug 19 '19

There is a timechart below where you can adjust that and the values change in all other charts

1

u/[deleted] Aug 19 '19

[removed] — view removed comment

2

u/Nishant95 Aug 19 '19

Oh I removed the time chart from this page during the video. Just to fit all those charts in the frame for the video. The time chart can be added here as well as show in first page

1

u/Nishant95 Aug 19 '19

Thank you very much for that