{"id":11758,"date":"2018-11-28T14:35:57","date_gmt":"2018-11-28T19:35:57","guid":{"rendered":"http:\/\/studentwork.prattsi.org\/infovis\/?p=11758"},"modified":"2019-01-10T23:51:36","modified_gmt":"2019-01-11T04:51:36","slug":"new-york-city-crime-mapping-2018","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/labs\/new-york-city-crime-mapping-2018\/","title":{"rendered":"New York City Crime Mapping 2018"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11764\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-1.37.53-PM.png?resize=840%2C356\" alt=\"\" width=\"840\" height=\"356\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-1.37.53-PM.png?resize=1024%2C434&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-1.37.53-PM.png?resize=300%2C127&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-1.37.53-PM.png?resize=768%2C326&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-1.37.53-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4><a href=\"https:\/\/savi.carto.com\/u\/peko612\/builder\/1a23c8e7-98fc-412c-8523-cd1d3b2d8c65\/embed\">https:\/\/savi.carto.com\/u\/peko612\/builder\/1a23c8e7-98fc-412c-8523-cd1d3b2d8c65\/embed<\/a><\/h4>\n<h2>Introduction<\/h2>\n<p>For people who are living in New York, safety is something that we always care about. Our judgement of whether this district is safe or not often depends on the news or even stories we hear. So are those rumors truth or just bias? The best way to know it is to see some data.Because of this reason, I created a crime map of NYC in 2018 with two data sets.&#8221;NYC Arrest Data&#8221; and &#8220;NYC Shooting Incidents Data&#8221; .<\/p>\n<h2>Inspiration<\/h2>\n<p>For this lab, I was inspired by data visualization on &#8220;Neighborhood Scout&#8221; which shows the crime map of New Jersey. This website is very helpful for people who are planning to buy new houses and move to a new district. One of my friend spent a lot of time on doing research of all communities in NJ and finally made his choice with confidence because of the data shown on this website.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11759\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-12.28.56-PM-1.png?resize=840%2C407\" alt=\"\" width=\"840\" height=\"407\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-12.28.56-PM-1.png?resize=1024%2C496&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-12.28.56-PM-1.png?resize=300%2C145&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-12.28.56-PM-1.png?resize=768%2C372&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-12.28.56-PM-1.png?w=1848&amp;ssl=1 1848w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-12.28.56-PM-1.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<p>On this website, you can see maps filtered by &#8220;Crime&#8221;, &#8220;Demographics&#8221;,&#8221;Real Estate&#8221; and for parents who are looking for better education, you also have a filter choice of &#8220;schools&#8221;.<\/p>\n<p>My goal is to provide a similar map for NYC focus on safety. So I searched dataset about crime on NYC OpenData. I found two related dataset, one is about &#8220;arrest&#8221; the other is about &#8220;shooting&#8221;. Both are very rich with numerous categories, and geolocation coordinates that are perfect for CARTO.<\/p>\n<h2>Materials<\/h2>\n<ul>\n<li><a href=\"https:\/\/data.cityofnewyork.us\/Public-Safety\/Police-Precincts\/78dh-3ptz\">NYPD Arrest Data (Year to Date)<\/a>\u00a0:List of arrest incident that occurred in NYC during the current calendar year.<\/li>\n<li><a href=\"https:\/\/data.cityofnewyork.us\/Public-Safety\/NYPD-Shooting-Incident-Data-Year-To-Date-\/5ucz-vwe8\/data\">NYPD Shooting Incident Data:<\/a>\u00a0List of every shooting incident that occurred in NYC during the current calendar year.<\/li>\n<li><a href=\"https:\/\/carto.com\/\">Carto:<\/a>\u00a0visualization software used specifically to create location-based maps.<\/li>\n<\/ul>\n<h2>Methods<\/h2>\n<p>I first imported the Arrest Data file into Carto, and linked both data together by adding a &#8220;new layer&#8221;.<\/p>\n<p>I chose contrast color for their aggregation in order to make both layers visible.<\/p>\n<p>Then I added widgets to make it more clear and interesting. The widgets indicate that shooting incidents are red dots, and number of arrest are displayed by light green to dark green aggregation, lighter means smaller amounts, vice versa.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11763 alignleft\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-1.31.17-PM.png?resize=285%2C212\" alt=\"\" width=\"285\" height=\"212\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>I also added a widget of arrests boroughs, K(Brooklyn), B(Bronx), M(Manhattan), Q(Queens), S(StateIsland).<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11769 alignleft\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.19.38-PM.png?resize=394%2C353\" alt=\"\" width=\"394\" height=\"353\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.19.38-PM.png?w=394&amp;ssl=1 394w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.19.38-PM.png?resize=300%2C269&amp;ssl=1 300w\" sizes=\"auto, (max-width: 394px) 100vw, 394px\" \/><\/p>\n<p>Users can click on each bar toIsland). Users can click on each bar to only show arrests amount in that particular borough. Results example is shown below.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11770\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.23.46-PM.png?resize=840%2C379\" alt=\"\" width=\"840\" height=\"379\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.23.46-PM.png?resize=1024%2C462&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.23.46-PM.png?resize=300%2C135&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.23.46-PM.png?resize=768%2C346&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-2.23.46-PM.png?w=1680 1680w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<p>This map only shows arrest amount in Brooklyn. It&#8217;s not hard to see that the arrest amount and shooting incidents are corresponding to each other.<\/p>\n<h2>Reflection<\/h2>\n<p>The most difficult part of the lab was finding data that I could use. I was trying to find dataset about Income which I thought maybe related to crime for some reasons, but failed to find a geocoded dataset at at last. The relationship between poverty and crime was only my hypothesis, and probably bias. I look forward to do more research and visualizations upon this topic in the future. Over all,\u00a0 I really enjoyed learning this tool. The learning curve of Carto was not very steep, and it is strong enough to create interesting, interactive visualizations.\u00a0Except the stylizing of each layer was too limited for me, In the future, I hope to find a stronger visualization tool for mapping just in terms of better design.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; https:\/\/savi.carto.com\/u\/peko612\/builder\/1a23c8e7-98fc-412c-8523-cd1d3b2d8c65\/embed Introduction For people who are living in New York, safety is something that we always care about. Our judgement of whether this district is safe or not often depends on the news or even stories we hear. So are those rumors truth or just bias? The best way to know it is to&hellip;<\/p>\n","protected":false},"author":524,"featured_media":11764,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[149,341],"tags":[],"coauthors":[337],"class_list":["post-11758","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-labs","category-maps"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Screen-Shot-2018-11-28-at-1.37.53-PM.png?fit=2482%2C1052&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-33E","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/users\/524"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=11758"}],"version-history":[{"count":2,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11758\/revisions"}],"predecessor-version":[{"id":11775,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11758\/revisions\/11775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/11764"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=11758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=11758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=11758"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=11758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}