Pipe - CS50 Fair 2019

CS50 · Beginner ·💻 AI-Assisted Coding ·6y ago

Key Takeaways

Analyzes gun violence data using data visualization and cleaning techniques

Full Transcript

hi so we have another student here with us who's gonna tell us about his project but first yeah can you introduce yourself a little bit yeah hi I'm Yao I'm a first year from New Jersey and I live in Canada haha and I know you freshmen you you don't have to design a concentration but were you aiming so right now I'm thinking about taking the data science track in the Gulf Department as I was always interested in computer science and also government so I want to combine the two to like do something together okay great that's actually a perfect segue into his projects it's also worried about that yeah yeah of course so for my project I combine my cs50 final project with my Gulf 1005 final project which is learning about data visualization and data cleaning so I wanted to make like a data science blog so or I could like showcase some of my cool projects so for my current project I was looking at gun violence decrease in stamps just go to Oakland so based on this a Guardian article a couple months ago they're talking about how gun violence decrease in Oakland and San Francisco by 50% while an increase in other US cities so we wanted to figure out why it was by looking at data making some cool visualizations and yeah can you walk us through some of the visualizations how you went about gathering the data right yeah results you found worse yeah so we started up I like trying to graph out some data points looking at it from like a bird's eye perspective so we use the Google Maps API and some gun violence datasets from the police city department police departments so we looked at that so we can graph out each dot represents for San Francisco and aggravated assault crime and for Oakland gun violence crime yeah why they separated the dot meanings because there were different data sets so every Police Department codes crimes differently so for example just got a code it just differently they were more specific with their coding yeah so for violent crimes we start started by looking at the visualizations but I'm some data points and just seeing like if the what the article said was true and like what specific years and I were supposed to focus on so when we look at our data I started by graphing it but then I realized that it was kind of hard to tell because of Chicago's large gun violence crime rate so then we looked at filter by crook per capita so we can actually see some of the trends so from 2013 onwards we can see that Oakland had a decrease in gun violence and Tim's just go how to decrease in gun lines while other cities like st. Louis Baltimore and Chicago at increases yeah so after that we want to see like why this was we're trying to explain why there's a decrease in these two cities and increase in other cities so we started off by looking at imprisonment data so like prison reform other prison related activities and we certainly hit a brick road because we couldn't get a lot of data from private prisons we're not really willing to like release our data so we ended up scratching that because like San Francisco just were there a lot of scratchy data points like some years weren't even reported so okay unfortunately we couldn't get the data for that there's systemic reasons why like is it underfunding maybe not having the administrative capacity to keep track yeah I think like it's just like a lot of people don't a lot of persons don't wanna release your data and they're private about it of course but also like they're just actually prisons oh yeah private prisons yeah some people just like just don't have their data like publicly available fortunately yeah so then we looked at some regressions to look at like gun violence increases throughout the years in San Cisco Oakland and then looking at gun violence laws especially got gun control laws in California specifically so we noticed that from there's been an increase in the past few years which is good and in 2012 to 2013 there was a big spike of like four new laws in California so this is roughly the same time that gun violence started decreasing in California in these two cities so then we want to see what these four laws were and if they were specific to California so looking at these four laws we found one law called domestic violence restraining order removal so basically if this person has a domestic violence restraining order then the police would go in and remove their guns from their home and this is all laws only been adopted in four states Massachusetts being the earliest one in 1994 and in California you have Nick okay I'm gonna gotcha yeah and then in 2013 California 2014 Minnesota and 2017 New Jersey which is run from so bit late to the game but were there so because this law was implemented so recently and with just within the past decade and with varying degrees of intensity like California is one of the more intense version of the law more strict versions while like Minnesota has a bit more toned down version so we're really comparing apples to apples so we couldn't really chaff I know conclusion and with the law being so recent than what just wasn't a lot of data to fruit like show that it correlated this law with a specific decrease so in our conclusion to be an interesting point yes yes that's what we send their conclusion basically how is one factor out of many and that we should provide more research and do more research in the future so you mentioned you want to do data science going on into your next four years do you first see yourself using this blog yeah of course like right now on the home page you can see that I only have one project unfortunately on first year so I'm slack but yeah definitely adding more I'm taking more Gulf data science classes okay great and I just want to re-emphasize I think this is one of the really cool things about CS has been intersectionality yeah I was able to take a scuf project the CS project combined them learn something really interesting do a deep dive into the data and then the second cool part is for someone who's just interested about this topic but may not have the resources or the time to do all this work you've displayed it in a very user friendly format I'm sure you know it looks pretty but you can forget how much work has to go into scraping the data cleaning at formatting it and then making really hard-hitting visualizations like this so really great job and I think I get to see where else to go thank you very much yeah

Original Description

The CS50 Fair is an epic display of CS50 students' final projects. *** This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming. *** HOW TO SUBSCRIBE http://www.youtube.com/subscription_center?add_user=cs50tv HOW TO TAKE CS50 edX: https://cs50.edx.org/ Harvard Extension School: https://cs50.harvard.edu/extension Harvard Summer School: https://cs50.harvard.edu/summer OpenCourseWare: https://cs50.harvard.edu/x HOW TO JOIN CS50 COMMUNITIES Discord: https://discord.gg/T8QZqRx Ed: https://cs50.harvard.edu/x/ed Facebook Group: https://www.facebook.com/groups/cs50/ Faceboook Page: https://www.facebook.com/cs50/ GitHub: https://github.com/cs50 Gitter: https://gitter.im/cs50/x Instagram: https://instagram.com/cs50 LinkedIn Group: https://www.linkedin.com/groups/7437240/ LinkedIn Page: https://www.linkedin.com/school/cs50/ Quora: https://www.quora.com/topic/CS50 Slack: https://cs50.edx.org/slack Snapchat: https://www.snapchat.com/add/cs50 Twitter: https://twitter.com/cs50 YouTube: http://www.youtube.com/cs50 HOW TO FOLLOW DAVID J. MALAN Facebook: https://www.facebook.com/dmalan GitHub: https://github.com/dmalan Instagram: https://www.instagram.com/davidjmalan/ LinkedIn: https://www.linkedin.com/in/malan/ Quora: https://www.quora.com/profile/David-J-Malan Twitter: https://twitter.com/davidjmalan *** CS50 SHOP https://cs50.harvardshop.com/ *** LICENSE CC BY-NC-SA 4.0 Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License https://creativecommons.org/licenses/by-nc-sa/4.0/ David J. Malan https://cs.harvard.edu/malan malan@harvard.edu
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from CS50 · CS50 · 0 of 60

← Previous Next →
1 Hello, World: Hadi Partovi
Hello, World: Hadi Partovi
CS50
2 Content Distribution and Archival in a Digital Age
Content Distribution and Archival in a Digital Age
CS50
3 CS50 2014 - Week 1
CS50 2014 - Week 1
CS50
4 CS50 2014 - Week 3
CS50 2014 - Week 3
CS50
5 CS50 2014 - Week 0, continued
CS50 2014 - Week 0, continued
CS50
6 CS50 2014 - Week 4
CS50 2014 - Week 4
CS50
7 Week 3, continued
Week 3, continued
CS50
8 Quiz 0 Review
Quiz 0 Review
CS50
9 CS50 2014 - Week 3, continued
CS50 2014 - Week 3, continued
CS50
10 CS50 2014 - Week 7
CS50 2014 - Week 7
CS50
11 CS50 2014 - Week 7, continued
CS50 2014 - Week 7, continued
CS50
12 Breaking Through The (Google) Glass Ceiling by Christopher Bartholomew
Breaking Through The (Google) Glass Ceiling by Christopher Bartholomew
CS50
13 Introduction to Amazon Web Services by Leo Zhadanovsky
Introduction to Amazon Web Services by Leo Zhadanovsky
CS50
14 CS50 2014 - Week 9
CS50 2014 - Week 9
CS50
15 How to Build Innovative Technologies by Abby Fichtner
How to Build Innovative Technologies by Abby Fichtner
CS50
16 Light Your World (with Hue Bulbs) by Dan Bradley
Light Your World (with Hue Bulbs) by Dan Bradley
CS50
17 Building Dynamic Web Apps with Laravel by Eric Ouyang
Building Dynamic Web Apps with Laravel by Eric Ouyang
CS50
18 CS50 2014 - CS50 Lecture by Steve Ballmer
CS50 2014 - CS50 Lecture by Steve Ballmer
CS50
19 CS50 2014 - Week 10
CS50 2014 - Week 10
CS50
20 This is CS50 with Steve Ballmer?
This is CS50 with Steve Ballmer?
CS50
21 Meteor: a better way to build apps by Roger Zurawicki
Meteor: a better way to build apps by Roger Zurawicki
CS50
22 Data Analysis in R by Dustin Tran
Data Analysis in R by Dustin Tran
CS50
23 Data Visualization and D3 by David Chouinard
Data Visualization and D3 by David Chouinard
CS50
24 CS50 2014 - Week 6
CS50 2014 - Week 6
CS50
25 Build Tomorrow's Library by Jeffrey Licht
Build Tomorrow's Library by Jeffrey Licht
CS50
26 CS50 2014 - Week 9, continued
CS50 2014 - Week 9, continued
CS50
27 Essential Scale-Out Computing by James Cuff
Essential Scale-Out Computing by James Cuff
CS50
28 iOS App Development with Swift by Dan Armendariz
iOS App Development with Swift by Dan Armendariz
CS50
29 Sam Clark Leads Yale Students on Tour to CS50 at Harvard
Sam Clark Leads Yale Students on Tour to CS50 at Harvard
CS50
30 3D Modeling and Manufacture by Ansel Duff
3D Modeling and Manufacture by Ansel Duff
CS50
31 CS50 2014 - Week 5, continued
CS50 2014 - Week 5, continued
CS50
32 hello, world
hello, world
CS50
33 CS50 2014 - Deep Thoughts - Hash Table
CS50 2014 - Deep Thoughts - Hash Table
CS50
34 CS50 2014 - Deep Thoughts - Binary Tree
CS50 2014 - Deep Thoughts - Binary Tree
CS50
35 CS50 2014 - Deep Thoughts - Scratch
CS50 2014 - Deep Thoughts - Scratch
CS50
36 CS50 2014 - Deep Thoughts - MySQL
CS50 2014 - Deep Thoughts - MySQL
CS50
37 LaunchCode Visits CS50
LaunchCode Visits CS50
CS50
38 CS50 Live, Episode 100
CS50 Live, Episode 100
CS50
39 CS50 Field Trip to Google
CS50 Field Trip to Google
CS50
40 This is CS50 AP
This is CS50 AP
CS50
41 Week 4: Monday - CS50 2011 - Harvard University
Week 4: Monday - CS50 2011 - Harvard University
CS50
42 Week 2: Wednesday - CS50 2011 - Harvard University
Week 2: Wednesday - CS50 2011 - Harvard University
CS50
43 Week 1: Wednesday - CS50 2011 - Harvard University
Week 1: Wednesday - CS50 2011 - Harvard University
CS50
44 Week 11: Monday - CS50 2011 - Harvard University
Week 11: Monday - CS50 2011 - Harvard University
CS50
45 Week 3: Wednesday - CS50 2011 - Harvard University
Week 3: Wednesday - CS50 2011 - Harvard University
CS50
46 Week 12: Monday - CS50 2011 - Harvard University
Week 12: Monday - CS50 2011 - Harvard University
CS50
47 Week 1: Friday - CS50 2011 - Harvard University
Week 1: Friday - CS50 2011 - Harvard University
CS50
48 Week 3: Monday - CS50 2011 - Harvard University
Week 3: Monday - CS50 2011 - Harvard University
CS50
49 Week 10: Wednesday - CS50 2011 - Harvard University
Week 10: Wednesday - CS50 2011 - Harvard University
CS50
50 Week 2: Monday - CS50 2011 - Harvard University
Week 2: Monday - CS50 2011 - Harvard University
CS50
51 Week 9: Monday - CS50 2011 - Harvard University
Week 9: Monday - CS50 2011 - Harvard University
CS50
52 Week 7: Monday - CS50 2011 - Harvard University
Week 7: Monday - CS50 2011 - Harvard University
CS50
53 Week 5: Monday - CS50 2011 - Harvard University
Week 5: Monday - CS50 2011 - Harvard University
CS50
54 Week 5: Wednesday - CS50 2011 - Harvard University
Week 5: Wednesday - CS50 2011 - Harvard University
CS50
55 Week 7: Wednesday - CS50 2011 - Harvard University
Week 7: Wednesday - CS50 2011 - Harvard University
CS50
56 Week 8: Monday - CS50 2011 - Harvard University
Week 8: Monday - CS50 2011 - Harvard University
CS50
57 Week 9: Wednesday - CS50 2011 - Harvard University
Week 9: Wednesday - CS50 2011 - Harvard University
CS50
58 Week 8: Wednesday - CS50 2011 - Harvard University
Week 8: Wednesday - CS50 2011 - Harvard University
CS50
59 Week 10: Monday - CS50 2011 - Harvard University
Week 10: Monday - CS50 2011 - Harvard University
CS50
60 Week 2: Wednesday - CS50 2010 - Harvard University
Week 2: Wednesday - CS50 2010 - Harvard University
CS50

Related Reads

Up next
How To Connect Lovable To GitHub 2026 | Full Setup In Minutes
Tutorial Stack
Watch →